Unified · Split
| @@ -38,6 +38,8 @@ static float get_expected(float f, DNNMathUnaryOperation op) · 37 unmodified lines | |||
| 38 | return cos(f); | 38 | return cos(f); |
| 39 | case DMUO_TAN: | 39 | case DMUO_TAN: |
| 40 | return tan(f); | 40 | return tan(f); |
| 41 | case DMUO_ASIN: | ||
| 42 | return asin(f); | ||
| 41 | default: | 43 | default: |
| 42 | av_assert0(!"not supported yet"); | 44 | av_assert0(!"not supported yet"); |
| 43 | return 0.f; | 45 | return 0.f; |
| @@ -89,5 +91,7 @@ int main(int agrc, char **argv) · 45 unmodified lines | |||
| 89 | return 1; | 91 | return 1; |
| 90 | if (test(DMUO_TAN)) | 92 | if (test(DMUO_TAN)) |
| 91 | return 1; | 93 | return 1; |
| 94 | if (test(DMUO_ASIN)) | ||
| 95 | return 1; | ||
| 92 | return 0; | 96 | return 0; |
| 93 | } | 97 | } |