Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-09 07:49:47

0001 #pragma once
0002 
0003 #include <math.h>
0004 
0005 
0006 template<typename T>
0007 void ssincos(const T angle, T& s, T& c)
0008 {
0009 #ifdef __APPLE__
0010     __sincos( angle, &s, &c);
0011 #elif __linux
0012     sincos( angle, &s, &c);
0013 #else
0014     s = sin(angle);
0015     c = cos(angle) ;
0016 #endif
0017 
0018 }
0019