Browse Source

Fix reversed outputs of sincosl

Takuya Nakaoka 7 năm trước cách đây
mục cha
commit
d134c84e91
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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 );
 }