FreeBSD Bugzilla – Attachment 145432 Details for
Bug 191754
[headers] long math functions (powl, etc) are not declared properly in math.h
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for math.h.diff
math.h.diff (text/plain), 1.83 KB, created by
Steve Kargl
on 2014-08-06 23:25:49 UTC
(
hide
)
Description:
patch for math.h.diff
Filename:
MIME Type:
Creator:
Steve Kargl
Created:
2014-08-06 23:25:49 UTC
Size:
1.83 KB
patch
obsolete
>--- /home/kargl/freebsd/src/lib/msun/src/math.h 2014-07-13 10:05:05.000000000 -0700 >+++ msun/src/math.h 2014-08-06 10:36:53.000000000 -0700 >@@ -330,6 +330,7 @@ > */ > double gamma_r(double, int *); > double lgamma_r(double, int *); >+long double lgammal_r(long double, int *); > > /* > * IEEE Test Vector >@@ -465,6 +466,7 @@ > long double hypotl(long double, long double); > int ilogbl(long double) __pure2; > long double ldexpl(long double, int); >+long double lgammal(long double); > long long llrintl(long double); > long long llroundl(long double); > long double log10l(long double); >@@ -481,6 +483,7 @@ > double nexttoward(double, long double); > float nexttowardf(float, long double); > long double nexttowardl(long double, long double); >+long double powl(long double, long double); > long double remainderl(long double, long double); > long double remquol(long double, long double, int *); > long double rintl(long double); >@@ -492,31 +495,17 @@ > long double sqrtl(long double); > long double tanhl(long double); > long double tanl(long double); >+long double tgammal(long double); > long double truncl(long double); > > #endif /* __ISO_C_VISIBLE >= 1999 */ >-__END_DECLS >- >-#endif /* !_MATH_H_ */ >- >-/* separate header for cmath */ >-#ifndef _MATH_EXTRA_H_ >-#if __ISO_C_VISIBLE >= 1999 >-#if _DECLARE_C99_LDBL_MATH > >-#define _MATH_EXTRA_H_ >- >-/* >- * extra long double versions of math functions for C99 and cmath >- */ >-__BEGIN_DECLS >- >-long double lgammal(long double); >-long double powl(long double, long double); >-long double tgammal(long double); >+#if __BSD_VISIBLE >+void sincos(double, double *, double *); >+void sincosf(float, float *, float *); >+void sincosl(long double, long double *, long double *); >+#endif /* __BSD_VISIBLE */ > > __END_DECLS > >-#endif /* !_DECLARE_C99_LDBL_MATH */ >-#endif /* __ISO_C_VISIBLE >= 1999 */ >-#endif /* !_MATH_EXTRA_H_ */ >+#endif /* !_MATH_H_ */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191754
: 145432