/AliOS-Things-master/components/freetype/src/tools/ |
A D | test_trig.c | 30 d2 = cos( i*SPI ); in test_cos() 111 c1 = l * cos(a); in test_atan2() 145 c1 = cos(a); in test_unit() 176 v.x = (FT_Fixed)( l * cos( i*SPI ) ); in test_length() 203 cra = cos( ra ); in test_rotate() 216 c1 = l * cos(a); in test_rotate()
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | modcmath.c | 57 return mp_obj_new_complex(r * MICROPY_FLOAT_C_FUN(cos)(phi), r * MICROPY_FLOAT_C_FUN(sin)(phi)); in mp_cmath_rect() 66 …return mp_obj_new_complex(exp_real * MICROPY_FLOAT_C_FUN(cos)(imag), exp_real * MICROPY_FLOAT_C_FU… in mp_cmath_exp() 95 …return mp_obj_new_complex(sqrt_abs * MICROPY_FLOAT_C_FUN(cos)(theta), sqrt_abs * MICROPY_FLOAT_C_F… in mp_cmath_sqrt() 103 …return mp_obj_new_complex(MICROPY_FLOAT_C_FUN(cos)(real) * MICROPY_FLOAT_C_FUN(cosh)(imag), -MICRO… in mp_cmath_cos() 111 …AT_C_FUN(sin)(real) * MICROPY_FLOAT_C_FUN(cosh)(imag), MICROPY_FLOAT_C_FUN(cos)(real) * MICROPY_FL… in mp_cmath_sin()
|
A D | modmath.c | 137 MATH_FUN_1(cos, cos) in MATH_FUN_2()
|
A D | objcomplex.c | 249 lhs_real = exp_x3 * MICROPY_FLOAT_C_FUN(cos)(y3); in mp_obj_complex_binary_op()
|
/AliOS-Things-master/components/SDL2/src/libm/ |
A D | s_cos.c | 46 double cos(double x) in cos() function 73 libm_hidden_def(cos)
|
A D | math_private.h | 37 #define cos SDL_uclibc_cos macro
|
/AliOS-Things-master/components/py_engine/engine/lib/libm/ |
A D | sf_cos.c | 62 double cos(double x) in cos() function 64 double cos(x) in cos()
|
/AliOS-Things-master/components/py_engine/tests/perf_bench/ |
A D | bm_float.py | 6 from math import sin, cos, sqrt 14 self.y = cos(i) * 3
|
A D | bm_fft.py | 52 signal = [math.cos(2 * math.pi * i / params[1]) + 0j for i in range(params[1])]
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/simple_features/ |
A D | simple_features_generator.cc | 54 real += time_series[j] * std::cos(j * i * kPi * 2 / time_series_size); in CalculateDiscreteFourierTransform() 70 window_function[i] = 0.5f - 0.5f * std::cos((2 * kPi * i) / window_length); in CalculatePeriodicHann()
|
/AliOS-Things-master/components/py_engine/engine/drivers/display/ |
A D | lcd160cr_test.py | 91 fbuf.fill(lcd.rgb(128 + int(64 * math.cos(0.1 * i)), 128, 192)) 95 w // 2 + int(40 * math.cos(0.2 * i)), 103 x = w // 2 - 8 + int(50 * math.cos(0.05 * i + phase))
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/kissfft/ |
A D | _kiss_fft_guts.h | 128 # define KISS_FFT_COS(phase) floor(.5+SAMP_MAX * cos (phase)) 132 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) ) 136 # define KISS_FFT_COS(phase) (kiss_fft_scalar) cos(phase)
|
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/ |
A D | gps.js | 776 var cdlon = Math.cos(dlon); 779 var clat1 = Math.cos(lat1); 782 var clat2 = Math.cos(lat2); 810 var clat1 = Math.cos(lat1); 811 var clat2 = Math.cos(lat2);
|
/AliOS-Things-master/components/amp-utility/python/ |
A D | cmath.py | 13 def cos(z): function
|
A D | math2.py | 68 def cos(x): function
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/simple_features/fixed_point/ |
A D | simple_features_generator.cc | 92 FloatToFixed_Q2_30(cos(j * i * M_PI * 2 / time_series_size)); in CalculateDiscreteFourierTransform() 111 const float real_value = (0.5 - 0.5 * cos((2 * M_PI * i) / window_length)); in CalculatePeriodicHann()
|
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/ |
A D | cos.c | 45 double cos(double x) in cos() function
|
/AliOS-Things-master/components/py_engine/tests/float/ |
A D | cmath_fun.py | 39 ("cos", cos, test_values),
|
A D | math_domain.py | 21 ("cos", math.cos, ()),
|
A D | math_fun.py | 26 ("cos", cos, test_values),
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/microfrontend/lib/ |
A D | window_util.c | 47 float float_value = 0.5 - (0.5 * cos(arg * (i + 0.5))); in WindowPopulateState()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/ |
A D | test_qjscalc.js | 198 assert(cos(X+O(X^6)) == 1-1/2*X^2+1/24*X^4+O(X^6)); 240 assert_eq(cos(2+3*I), -4.189625690968807-9.109227893755337*I);
|
/AliOS-Things-master/components/uvoice/tools/ |
A D | gen_voice.py | 27 fv_float = vol * math.cos(theta)
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | elementwise.cc | 90 return EvalNumeric(context, node, std::cos); in CosEval()
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | LaplaceRelaxation.c | 228 s = 1.0 - 0.5 * (1.0 + cos(t)); in Draw()
|