1 /* Copyright (c) 2002 Thomas Fitzsimmons <fitzsim@redhat.com> */ 2 /* sincos -- currently no more efficient than two separate calls to 3 sin and cos. */ 4 #include "fdlibm.h" 5 #if __OBSOLETE_MATH_FLOAT 6 7 #include <errno.h> 8 9 void __inhibit_new_builtin_calls sincosf(float x,float * sinx,float * cosx)10sincosf(float x, float *sinx, float *cosx) 11 { 12 *sinx = _sinf(x); 13 *cosx = _cosf(x); 14 } 15 16 _MATH_ALIAS_v_fFF(sincos) 17 18 #else 19 #include "../common/sincosf.c" 20 #endif /* __OBSOLETE_MATH_FLOAT */ 21