Lines Matching refs:float16_t
41 float16_t *output;
44 output = malloc(length * sizeof(float16_t));
49 output[index] = arm_cos_f16(((float16_t *)in_angles)[index]);
54 test_snr_error_f16(length, output, (float16_t *)ref_cos,
59 test_close_error_f16(length, output, (float16_t *)ref_cos,
71 float16_t *output;
74 output = malloc(length * sizeof(float16_t));
79 output[index] = arm_sin_f16(((float16_t *)in_angles)[index]);
84 test_snr_error_f16(length, output, (float16_t *)ref_sin,
89 test_close_error_f16(length, output, (float16_t *)ref_sin,
105 float16_t *output; in ZTEST()
108 output = malloc(length * sizeof(float16_t)); in ZTEST()
114 ((float16_t *)in_sqrt)[index], &output[index]); in ZTEST()
117 if (((float16_t *)in_sqrt)[index] < 0.0f) { in ZTEST()
129 test_snr_error_f16(length, output, (float16_t *)ref_sqrt, in ZTEST()
134 test_close_error_f16(length, output, (float16_t *)ref_sqrt, in ZTEST()
145 float16_t *output; in test_arm_vlog_f16()
148 output = malloc(length * sizeof(float16_t)); in test_arm_vlog_f16()
152 arm_vlog_f16((float16_t *)input1, output, length); in test_arm_vlog_f16()
156 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_vlog_f16()
161 test_close_error_f16(length, output, (float16_t *)ref, in test_arm_vlog_f16()
177 float16_t *output; in test_arm_vexp_f16()
180 output = malloc(length * sizeof(float16_t)); in test_arm_vexp_f16()
184 arm_vexp_f16((float16_t *)input1, output, length); in test_arm_vexp_f16()
188 test_snr_error_f16(length, output, (float16_t *)ref, in test_arm_vexp_f16()
193 test_close_error_f16(length, output, (float16_t *)ref, in test_arm_vexp_f16()
209 float16_t *output; in ZTEST()
212 output = malloc(length * sizeof(float16_t)); in ZTEST()
216 arm_vinverse_f16((float16_t *)in_vinverse, output, length); in ZTEST()
220 test_snr_error_f16(length, output, (float16_t *)ref_vinverse, in ZTEST()
225 test_close_error_f16(length, output, (float16_t *)ref_vinverse, in ZTEST()