Home
last modified time | relevance | path

Searched refs:sin (Results 1 – 25 of 42) sorted by relevance

12

/AliOS-Things-master/components/freetype/src/tools/
A Dtest_trig.c56 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 Dhello_world_test.cc30 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 Dmodcmath.c57 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 Ds_sin.c46 double sin(double x) in sin() function
73 libm_hidden_def(sin)
A Dmath_private.h47 #define sin SDL_uclibc_sin macro
/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Dsf_sin.c62 double sin(double x) in sin() function
64 double sin(x) in sin()
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_float.py6 from math import sin, cos, sqrt
13 self.x = x = sin(i)
/AliOS-Things-master/components/SDL2/src/gfx/Test/
A DTestGfxTexture.c116 …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 Dlcd160cr_test.py96 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.h129 # 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 Dgps.js775 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 Dcmath.py62 def sin(z): function
A Dmath2.py202 def sin(x): function
/AliOS-Things-master/components/amp_adapter/platform/aos/network/
A Daos_udp.c231 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 Dtest_qjscalc.js197 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 Dsin.c45 double sin(double x) in sin() function
/AliOS-Things-master/components/linkkit/wrappers/platform/os/
A DHAL_UDP_yoc.c333 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 DHAL_UDP_rhino.c340 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 Dcmath_fun.py40 ("sin", sin, test_values),
A Dmath_domain.py20 ("sin", math.sin, ()),
A Dmath_fun.py27 ("sin", sin, test_values),
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/simple_features/
A Dsimple_features_generator.cc59 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 Dsimple_features_generator.cc98 FloatToFixed_Q2_30(sin(j * i * M_PI * 2 / time_series_size)); in CalculateDiscreteFourierTransform()
/AliOS-Things-master/components/lwip/lwip2.0.0/api/
A Dsockets.c84 #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 Delementwise.cc86 return EvalNumeric(context, node, std::sin); in SinEval()

Completed in 41 milliseconds

12