فهرست منبع

Fix reversed outputs of sincosl

Takuya Nakaoka 7 سال پیش
والد
کامیت
d134c84e91
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  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 );
 }