Browse Source

Fix reversed outputs of sincosl

Takuya Nakaoka 7 years ago
parent
commit
d134c84e91
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/s_sincosl.c

+ 2 - 2
src/s_sincosl.c

@@ -26,6 +26,6 @@
 OLM_DLLEXPORT void
 sincosl( long double x, long double * s, long double * c )
 {
-    *s = cosl( x );
-    *c = sinl( x );
+    *s = sinl( x );
+    *c = cosl( x );
 }