/AliOS-Things-master/components/freetype/src/tools/ |
A D | test_trig.c | 56 d2 = sin( i*SPI ); in test_sin() 112 s1 = l * sin(a); in test_atan2() 146 s1 = sin(a); in test_unit() 177 v.y = (FT_Fixed)( l * sin( i*SPI ) ); in test_length() 204 sra = sin( ra ); in test_rotate() 217 s1 = l * sin(a); in test_rotate()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/examples/hello_world/ |
A D | hello_world_test.cc | 30 float y_true = sin(x); in TF_LITE_MICRO_TEST() 110 y_true = sin(x); in TF_LITE_MICRO_TEST() 117 y_true = sin(x); in TF_LITE_MICRO_TEST() 124 y_true = sin(x); in TF_LITE_MICRO_TEST()
|
/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 …_new_complex(exp_real * MICROPY_FLOAT_C_FUN(cos)(imag), exp_real * MICROPY_FLOAT_C_FUN(sin)(imag)); in mp_cmath_exp() 95 …ew_complex(sqrt_abs * MICROPY_FLOAT_C_FUN(cos)(theta), sqrt_abs * MICROPY_FLOAT_C_FUN(sin)(theta)); in mp_cmath_sqrt() 103 …T_C_FUN(cos)(real) * MICROPY_FLOAT_C_FUN(cosh)(imag), -MICROPY_FLOAT_C_FUN(sin)(real) * MICROPY_FL… in mp_cmath_cos() 111 …return mp_obj_new_complex(MICROPY_FLOAT_C_FUN(sin)(real) * MICROPY_FLOAT_C_FUN(cosh)(imag), MICROP… in mp_cmath_sin()
|
/AliOS-Things-master/components/SDL2/src/libm/ |
A D | s_sin.c | 46 double sin(double x) in sin() function 73 libm_hidden_def(sin)
|
A D | math_private.h | 47 #define sin SDL_uclibc_sin macro
|
/AliOS-Things-master/components/py_engine/engine/lib/libm/ |
A D | sf_sin.c | 62 double sin(double x) in sin() function 64 double sin(x) in sin()
|
/AliOS-Things-master/components/py_engine/tests/perf_bench/ |
A D | bm_float.py | 6 from math import sin, cos, sqrt 13 self.x = x = sin(i)
|
/AliOS-Things-master/components/SDL2/src/gfx/Test/ |
A D | TestGfxTexture.c | 116 …polygon_y[i]= (Sint16)(sin(sin_start/100) * 200) + height_half - (Sint16)(sin((i + sin_start) / 20… in Draw() 139 …ze,texture, -(screen->w * (Sint16)(sin_start-2)) / (psize - 5), -(Sint16)(sin(sin_start/100) * 20… in Draw()
|
/AliOS-Things-master/components/py_engine/engine/drivers/display/ |
A D | lcd160cr_test.py | 96 h // 2 + int(40 * math.sin(0.2 * i)), 104 y = h // 2 - 8 + int(32 * math.sin(0.05 * i + phase)) 110 h // 2 + 9 * j + int(20 * math.sin(0.1 * (i + j))),
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/kissfft/ |
A D | _kiss_fft_guts.h | 129 # define KISS_FFT_SIN(phase) floor(.5+SAMP_MAX * sin (phase)) 133 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) ) 137 # define KISS_FFT_SIN(phase) (kiss_fft_scalar) sin(phase)
|
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/ |
A D | gps.js | 775 var sdlon = Math.sin(dlon); 778 var slat1 = Math.sin(lat1); 781 var slat2 = Math.sin(lat2); 808 var shLat = Math.sin(hLat); 809 var shLon = Math.sin(hLon);
|
/AliOS-Things-master/components/amp-utility/python/ |
A D | cmath.py | 62 def sin(z): function
|
A D | math2.py | 202 def sin(x): function
|
/AliOS-Things-master/components/amp_adapter/platform/aos/network/ |
A D | aos_udp.c | 231 struct sockaddr_in *sin = (struct sockaddr_in *)&from; in aos_udp_recvfrom() local 232 inet_ntop(AF_INET, &sin->sin_addr, (char *)p_remote->addr, in aos_udp_recvfrom() 234 p_remote->port = ntohs(sin->sin_port); in aos_udp_recvfrom()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/tests/ |
A D | test_qjscalc.js | 197 assert(sin(X+O(X^6)) == X-1/6*X^3+1/120*X^5+O(X^6)); 238 assert_eq(sin(1/2), 0.479425538604203); 239 assert_eq(sin(2+3*I), 9.154499146911428-4.168906959966565*I);
|
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/ |
A D | sin.c | 45 double sin(double x) in sin() function
|
/AliOS-Things-master/components/linkkit/wrappers/platform/os/ |
A D | HAL_UDP_yoc.c | 333 struct sockaddr_in *sin = (struct sockaddr_in *)&from; in HAL_UDP_recvfrom() local 334 inet_ntop(AF_INET, &sin->sin_addr, (char *)p_remote->addr, in HAL_UDP_recvfrom() 336 p_remote->port = ntohs(sin->sin_port); in HAL_UDP_recvfrom()
|
/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | HAL_UDP_rhino.c | 340 struct sockaddr_in *sin = (struct sockaddr_in *)&from; in HAL_UDP_recvfrom() local 341 inet_ntop(AF_INET, &sin->sin_addr, (char *)p_remote->addr, in HAL_UDP_recvfrom() 343 p_remote->port = ntohs(sin->sin_port); in HAL_UDP_recvfrom()
|
/AliOS-Things-master/components/py_engine/tests/float/ |
A D | cmath_fun.py | 40 ("sin", sin, test_values),
|
A D | math_domain.py | 20 ("sin", math.sin, ()),
|
A D | math_fun.py | 27 ("sin", sin, test_values),
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/simple_features/ |
A D | simple_features_generator.cc | 59 time_series[j] * std::sin(j * i * kPi * 2 / time_series_size); in CalculateDiscreteFourierTransform()
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/simple_features/fixed_point/ |
A D | simple_features_generator.cc | 98 FloatToFixed_Q2_30(sin(j * i * M_PI * 2 / time_series_size)); in CalculateDiscreteFourierTransform()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | sockets.c | 84 #define IP4ADDR_PORT_TO_SOCKADDR(sin, ipaddr, port) do { \ argument 85 (sin)->sin_len = sizeof(struct sockaddr_in); \ 86 (sin)->sin_family = AF_INET; \ 87 (sin)->sin_port = lwip_htons((port)); \ 88 inet_addr_from_ipaddr(&(sin)->sin_addr, ipaddr); \ 89 memset((sin)->sin_zero, 0, SIN_ZERO_LEN); }while(0) 90 #define SOCKADDR4_TO_IP4ADDR_PORT(sin, ipaddr, port) do { \ argument 91 inet_addr_to_ipaddr(ip_2_ip4(ipaddr), &((sin)->sin_addr)); \ 92 (port) = lwip_ntohs((sin)->sin_port); }while(0) 287 struct sockaddr_in sin; member
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | elementwise.cc | 86 return EvalNumeric(context, node, std::sin); in SinEval()
|