Unified · Split
| @@ -52,6 +52,8 @@ static float get_expected(float f, DNNMathUnaryOperation op) · 51 unmodified lines | ||
| 52 | 52 | return tanh(f); |
| 53 | 53 | case DMUO_ASINH: |
| 54 | 54 | return asinh(f); |
| 55 | + case DMUO_ACOSH: | |
| 56 | + return acosh(f); | |
| 55 | 57 | default: |
| 56 | 58 | av_assert0(!"not supported yet"); |
| 57 | 59 | return 0.f; |
| @@ -117,5 +119,7 @@ int main(int agrc, char **argv) · 59 unmodified lines | ||
| 117 | 119 | return 1; |
| 118 | 120 | if (test(DMUO_ASINH)) |
| 119 | 121 | return 1; |
| 122 | + if (test(DMUO_ACOSH)) | |
| 123 | + return 1; | |
| 120 | 124 | return 0; |
| 121 | 125 | } |