this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'master' into feature/coreaudio-impl

+36
+1
src/libm/CMakeLists.txt
··· 15 15 16 16 set(libm_sources 17 17 Source/abs.c 18 + Source/sincos.c 18 19 #Source/nan.c 19 20 #Source/nanl.c 20 21 #Source/version_info.c
+8
src/libm/Source/Intel/math.h
··· 639 639 640 640 #endif /* __WANT_EXTENSIONS__ */ 641 641 642 + struct __float2 { float __sinval; float __cosval; }; 643 + struct __double2 { double __sinval; double __cosval; }; 644 + 645 + extern struct __float2 __sincosf_stret(float v); 646 + extern struct __double2 __sincos_stret(double v); 647 + extern struct __float2 __sincospif_stret(float v); 648 + extern struct __double2 __sincospi_stret(double v); 649 + 642 650 #ifdef __cplusplus 643 651 } 644 652 #endif
+27
src/libm/Source/sincos.c
··· 1 + #include "math.h" 2 + 3 + struct __float2 __sincosf_stret(float v) 4 + { 5 + struct __float2 rv = { 6 + sinf(v), cosf(v) 7 + }; 8 + return rv; 9 + } 10 + 11 + struct __double2 __sincos_stret(double v) 12 + { 13 + struct __double2 rv = { 14 + sin(v), cos(v) 15 + }; 16 + return rv; 17 + } 18 + 19 + struct __float2 __sincospif_stret(float v) 20 + { 21 + return __sincosf_stret(v * M_PI); 22 + } 23 + 24 + struct __double2 __sincospi_stret(double v) 25 + { 26 + return __sincos_stret(v * M_PI); 27 + }