Home
last modified time | relevance | path

Searched refs:pi (Results 1 – 24 of 24) sorted by relevance

/AliOS-Things-master/components/py_engine/engine/lib/libm/
A Datan2f.c25 pi = 3.1415927410e+00f, /* 0x40490fdb */ variable
54 return m&1 ? -pi/2 : pi/2; in atan2f()
59 case 0: return pi/4; /* atan(+INF,+INF) */ in atan2f()
60 case 1: return -pi/4; /* atan(-INF,+INF) */ in atan2f()
61 case 2: return 3*pi/4; /*atan(+INF,-INF)*/ in atan2f()
62 case 3: return -3*pi/4; /*atan(-INF,-INF)*/ in atan2f()
68 case 2: return pi; /* atan(+...,-INF) */ in atan2f()
69 case 3: return -pi; /* atan(-...,-INF) */ in atan2f()
75 return m&1 ? -pi/2 : pi/2; in atan2f()
85 case 2: return pi - (z-pi_lo); /* atan(+,-) */ in atan2f()
[all …]
A Derf_lgamma.c38 pi = 3.1415927410e+00f, /* 0x40490fdb */ variable
121 if(ix<0x3e800000) return __kernel_sinf(pi*x,zero,0);
145 case 0: y = __kernel_sinf(pi*y,zero,0); break;
147 case 2: y = __kernel_cosf(pi*((float)0.5-y),zero); break;
149 case 4: y = __kernel_sinf(pi*(one-y),zero,0); break;
151 case 6: y = -__kernel_cosf(pi*(y-(float)1.5),zero); break;
152 default: y = __kernel_sinf(pi*(y-(float)2.0),zero,0); break;
186 nadj = __ieee754_logf(pi/fabsf(t*x));
/AliOS-Things-master/components/py_engine/engine/lib/libm_dbl/
A Datan2.c66 case 2: return pi; /* atan(+0,-anything) = pi */ in atan2()
72 return m&1 ? -pi/2 : pi/2; in atan2()
77 case 0: return pi/4; /* atan(+INF,+INF) */ in atan2()
78 case 1: return -pi/4; /* atan(-INF,+INF) */ in atan2()
79 case 2: return 3*pi/4; /* atan(+INF,-INF) */ in atan2()
80 case 3: return -3*pi/4; /* atan(-INF,-INF) */ in atan2()
86 case 2: return pi; /* atan(+...,-INF) */ in atan2()
87 case 3: return -pi; /* atan(-...,-INF) */ in atan2()
93 return m&1 ? -pi/2 : pi/2; in atan2()
103 case 2: return pi - (z-pi_lo); /* atan(+,-) */ in atan2()
[all …]
A Dtgamma.c27 static const double pi = 3.141592653589793238462643383279502884; variable
44 x *= pi; in sinpi()
163 r = -pi / (sinpi(absx) * absx * r); in tgamma()
216 r = log(pi/(fabs(x)*absx)) - r; in __lgamma_r()
/AliOS-Things-master/components/SDL2/src/libm/
A De_atan2.c47 pi = 3.1415926535897931160E+00, /* 0x400921FB, 0x54442D18 */ variable
71 case 2: return pi+tiny;/* atan(+0,-anything) = pi */ in __ieee754_atan2()
72 case 3: return -pi-tiny;/* atan(-0,-anything) =-pi */ in __ieee754_atan2()
91 case 2: return pi+tiny ; /* atan(+...,-INF) */ in __ieee754_atan2()
92 case 3: return -pi-tiny ; /* atan(-...,-INF) */ in __ieee754_atan2()
112 case 2: return pi-(z-pi_lo);/* atan(+,-) */ in __ieee754_atan2()
114 return (z-pi_lo)-pi;/* atan(-,-) */ in __ieee754_atan2()
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dcutils.c537 pi = plt = ptr + size; in rqsort()
541 while (pi < pj && (c = cmp(ptr, pi, opaque)) >= 0) { in rqsort()
543 swap(plt, pi, size); in rqsort()
548 pi += size; in rqsort()
557 if (pi >= pj) in rqsort()
559 swap(pi, pj, size); in rqsort()
561 pi += size; in rqsort()
574 span2 = pi - plt; in rqsort()
578 swap_block(ptr, pi - span, span); in rqsort()
583 span2 = pgt - pi; in rqsort()
[all …]
A DREADME.md21 <li><a href="https://bellard.org/quickjs/pi.html">Small Javascript programs</a> to compute
22 one billion digits of pi.</li>
/AliOS-Things-master/components/py_engine/tests/misc/
A Drge_sm.py55 lambda *a: 41.0 / 96.0 / math.pi ** 2 * a[1] ** 3, # g1
56 lambda *a: -19.0 / 96.0 / math.pi ** 2 * a[2] ** 3, # g2
57 lambda *a: -42.0 / 96.0 / math.pi ** 2 * a[3] ** 3, # g3
60 / math.pi ** 2
69 / math.pi ** 2
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngvalid.c4115 png_infop pi; in make_transform_image() local
5045 png_infop pi) in read_palette() argument
5137 png_infop pi) in standard_palette_validate() argument
5715 UNUSED(pi) in standard_end()
6411 UNUSED(pi) in image_transform_set_end()
6705 pp, pi); in transform_info()
6755 png_infop pi) in transform_image_validate() argument
6777 UNUSED(pi) in transform_image_validate()
7293 png_infop pi) in image_transform_png_set_expand_gray_1_2_4_to_8_set() argument
9387 pi); in gamma_info()
[all …]
/AliOS-Things-master/components/uvoice/tools/
A Dgen_voice.py20 theta_inc = 2 * math.pi * freq / sample_rate
35 if theta > 2.0 * math.pi:
36 theta -= 2.0 * math.pi
/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_fft.py19 coef = (2 if inverse else -2) * cmath.pi / n
52 signal = [math.cos(2 * math.pi * i / params[1]) + 0j for i in range(params[1])]
/AliOS-Things-master/components/freetype/src/tools/
A Dcordic.py6 scale = units/math.pi
/AliOS-Things-master/components/SDL2/build-scripts/
A Dnacl-buildbot.sh51 perl -w -pi -e "s#$PWD/nacl-sdl2-installed#/usr/local#g;" ./nacl-sdl2-installed/lib/libSDL2.la ./na…
A Draspberrypi-buildbot.sh49 perl -w -pi -e "s#$PWD/rpi-sdl2-installed#/usr/local#g;" ./rpi-sdl2-installed/lib/libSDL2.la ./rpi-…
A Demscripten-buildbot.sh67 perl -w -pi -e "s#$PWD/emscripten-sdl2-installed#/usr/local#g;" ./emscripten-sdl2-installed/lib/lib…
/AliOS-Things-master/components/py_engine/tests/float/
A Dcmath_fun.py11 print("%.5g" % pi)
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dunzip.c161 int* pi));
163 local int unzlocal_getByte(pzlib_filefunc_def, filestream, pi) in unzlocal_getByte() argument
166 int* pi;
171 *pi = (int)c;
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/dsp/
A Ddec_sse2.c323 static WEBP_INLINE void Update2Pixels_SSE2(__m128i* const pi, __m128i* const qi, in Update2Pixels_SSE2() argument
330 *pi = _mm_adds_epi8(*pi, delta); in Update2Pixels_SSE2()
332 FLIP_SIGN_BIT2(*pi, *qi); in Update2Pixels_SSE2()
/AliOS-Things-master/components/SDL2/docs/
A DREADME-raspberrypi.md93 …perl -w -pi -e "s#$PWD/rpi-sdl2-installed#/usr/local#g;" ./rpi-sdl2-installed/lib/libSDL2.la ./rpi…
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/minizip/
A Dunzip.c210 int *pi));
212 …nt unz64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, int *pi) in unz64local_getByte() argument
218 *pi = (int)c; in unz64local_getByte()
A Dzip.c347 …64local_getByte OF((const zlib_filefunc64_32_def* pzlib_filefunc_def, voidpf filestream, int *pi));
349 … int zip64local_getByte(const zlib_filefunc64_32_def* pzlib_filefunc_def,voidpf filestream,int* pi) in zip64local_getByte() argument
355 *pi = (int)c; in zip64local_getByte()
/AliOS-Things-master/components/littlevgl/
A DREADME.md85 - [Raspberry PI](http://www.vk3erw.com/index.php/16-software/63-raspberry-pi-official-7-touchscreen…
/AliOS-Things-master/hardware/chip/rtl872xd/
A Date.bin72 …eO�zp4m����O�zq�@@� %m��P� �!FHD��u��-���j�h��j!F��l�0k�h�0k!F��e�pi �!F����^��k �!F�8…
445 …TpG���&����&B� pGp�F� � `"ix(x��v����0h�!��t����ix(x��r�����h��pi�G� p� |�!��ix(x�"��e…
906 ���F" ������f�������{�pi(�� ��������%0i(�0h��}�pjAqb� 1j@�p��!��(��F xu���1i��…
963 …�AF�����e�l�s��v� 8F������ F�(�8F�S�F9F F����F� F����(A���B�pi( �� � ����`h(�, �…
1527 ��T�!��l��!��$�!ppG-��A�FF�����XY�n$���9 F��0F����F����0�����U�00F�����@F����pi
1664 F����F�Fo�w�Օ�������n�����h�� ��0y�� ��=�o�v�y��B���F��*�������*� �~pi{��E�)�?)�AhI…
2093 …<��<`��<A`pG��rF����� ��F��pG-��AF F��F�X0�5��L�1F�T0��G��i��i�pi�0i��h���hrh1h(F��7…
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/
A Drgb-3c-8b.ppm205 …��O��P��R��L��L��L��O��S��V��Z��R��Q��U��T��N��J��E��B��A{i;j'!?�6�G kA*pi;qx?k{?m}@pz;rr=ufAvn…
302 …x|?{�@z�Bw~<ut9{{;{t;~x={y<uu=pP/rB0p7,k$ ngeg%m'r0o1o7$sC%qH&pN'pi,o�7k�<l�<q�Fy�Iy�Dt�…

Completed in 60 milliseconds