09_comment_out_rcsid_variable.patch 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  1. diff --git a/modules/fdlibm/src/e_acos.cpp b/modules/fdlibm/src/e_acos.cpp
  2. --- a/modules/fdlibm/src/e_acos.cpp
  3. +++ b/modules/fdlibm/src/e_acos.cpp
  4. @@ -6,18 +6,18 @@
  5. *
  6. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  7. * Permission to use, copy, modify, and distribute this
  8. * software is freely granted, provided that this notice
  9. * is preserved.
  10. * ====================================================
  11. */
  12. -#include <sys/cdefs.h>
  13. -__FBSDID("$FreeBSD$");
  14. +//#include <sys/cdefs.h>
  15. +//__FBSDID("$FreeBSD$");
  16. /* __ieee754_acos(x)
  17. * Method :
  18. * acos(x) = pi/2 - asin(x)
  19. * acos(-x) = pi/2 + asin(x)
  20. * For |x|<=0.5
  21. * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
  22. * For x>0.5
  23. diff --git a/modules/fdlibm/src/e_acosh.cpp b/modules/fdlibm/src/e_acosh.cpp
  24. --- a/modules/fdlibm/src/e_acosh.cpp
  25. +++ b/modules/fdlibm/src/e_acosh.cpp
  26. @@ -7,18 +7,18 @@
  27. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  28. * Permission to use, copy, modify, and distribute this
  29. * software is freely granted, provided that this notice
  30. * is preserved.
  31. * ====================================================
  32. *
  33. */
  34. -#include <sys/cdefs.h>
  35. -__FBSDID("$FreeBSD$");
  36. +//#include <sys/cdefs.h>
  37. +//__FBSDID("$FreeBSD$");
  38. /* __ieee754_acosh(x)
  39. * Method :
  40. * Based on
  41. * acosh(x) = log [ x + sqrt(x*x-1) ]
  42. * we have
  43. * acosh(x) := log(x)+ln2, if x is large; else
  44. * acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else
  45. diff --git a/modules/fdlibm/src/e_asin.cpp b/modules/fdlibm/src/e_asin.cpp
  46. --- a/modules/fdlibm/src/e_asin.cpp
  47. +++ b/modules/fdlibm/src/e_asin.cpp
  48. @@ -6,18 +6,18 @@
  49. *
  50. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  51. * Permission to use, copy, modify, and distribute this
  52. * software is freely granted, provided that this notice
  53. * is preserved.
  54. * ====================================================
  55. */
  56. -#include <sys/cdefs.h>
  57. -__FBSDID("$FreeBSD$");
  58. +//#include <sys/cdefs.h>
  59. +//__FBSDID("$FreeBSD$");
  60. /* __ieee754_asin(x)
  61. * Method :
  62. * Since asin(x) = x + x^3/6 + x^5*3/40 + x^7*15/336 + ...
  63. * we approximate asin(x) on [0,0.5] by
  64. * asin(x) = x + x*x^2*R(x^2)
  65. * where
  66. * R(x^2) is a rational approximation of (asin(x)-x)/x^3
  67. diff --git a/modules/fdlibm/src/e_atan2.cpp b/modules/fdlibm/src/e_atan2.cpp
  68. --- a/modules/fdlibm/src/e_atan2.cpp
  69. +++ b/modules/fdlibm/src/e_atan2.cpp
  70. @@ -7,18 +7,18 @@
  71. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  72. * Permission to use, copy, modify, and distribute this
  73. * software is freely granted, provided that this notice
  74. * is preserved.
  75. * ====================================================
  76. *
  77. */
  78. -#include <sys/cdefs.h>
  79. -__FBSDID("$FreeBSD$");
  80. +//#include <sys/cdefs.h>
  81. +//__FBSDID("$FreeBSD$");
  82. /* __ieee754_atan2(y,x)
  83. * Method :
  84. * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x).
  85. * 2. Reduce x to positive by (if x and y are unexceptional):
  86. * ARG (x+iy) = arctan(y/x) ... if x > 0,
  87. * ARG (x+iy) = pi - arctan[y/(-x)] ... if x < 0,
  88. *
  89. diff --git a/modules/fdlibm/src/e_atanh.cpp b/modules/fdlibm/src/e_atanh.cpp
  90. --- a/modules/fdlibm/src/e_atanh.cpp
  91. +++ b/modules/fdlibm/src/e_atanh.cpp
  92. @@ -7,18 +7,18 @@
  93. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  94. * Permission to use, copy, modify, and distribute this
  95. * software is freely granted, provided that this notice
  96. * is preserved.
  97. * ====================================================
  98. *
  99. */
  100. -#include <sys/cdefs.h>
  101. -__FBSDID("$FreeBSD$");
  102. +//#include <sys/cdefs.h>
  103. +//__FBSDID("$FreeBSD$");
  104. /* __ieee754_atanh(x)
  105. * Method :
  106. * 1.Reduced x to positive by atanh(-x) = -atanh(x)
  107. * 2.For x>=0.5
  108. * 1 2x x
  109. * atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)
  110. * 2 1 - x 1 - x
  111. diff --git a/modules/fdlibm/src/e_cosh.cpp b/modules/fdlibm/src/e_cosh.cpp
  112. --- a/modules/fdlibm/src/e_cosh.cpp
  113. +++ b/modules/fdlibm/src/e_cosh.cpp
  114. @@ -6,18 +6,18 @@
  115. *
  116. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  117. * Permission to use, copy, modify, and distribute this
  118. * software is freely granted, provided that this notice
  119. * is preserved.
  120. * ====================================================
  121. */
  122. -#include <sys/cdefs.h>
  123. -__FBSDID("$FreeBSD$");
  124. +//#include <sys/cdefs.h>
  125. +//__FBSDID("$FreeBSD$");
  126. /* __ieee754_cosh(x)
  127. * Method :
  128. * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
  129. * 1. Replace x by |x| (cosh(x) = cosh(-x)).
  130. * 2.
  131. * [ exp(x) - 1 ]^2
  132. * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
  133. diff --git a/modules/fdlibm/src/e_exp.cpp b/modules/fdlibm/src/e_exp.cpp
  134. --- a/modules/fdlibm/src/e_exp.cpp
  135. +++ b/modules/fdlibm/src/e_exp.cpp
  136. @@ -5,18 +5,18 @@
  137. * Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
  138. *
  139. * Permission to use, copy, modify, and distribute this
  140. * software is freely granted, provided that this notice
  141. * is preserved.
  142. * ====================================================
  143. */
  144. -#include <sys/cdefs.h>
  145. -__FBSDID("$FreeBSD$");
  146. +//#include <sys/cdefs.h>
  147. +//__FBSDID("$FreeBSD$");
  148. /* __ieee754_exp(x)
  149. * Returns the exponential of x.
  150. *
  151. * Method
  152. * 1. Argument reduction:
  153. * Reduce x to an r so that |r| <= 0.5*ln2 ~ 0.34658.
  154. * Given x, find r and integer k such that
  155. diff --git a/modules/fdlibm/src/e_hypot.cpp b/modules/fdlibm/src/e_hypot.cpp
  156. --- a/modules/fdlibm/src/e_hypot.cpp
  157. +++ b/modules/fdlibm/src/e_hypot.cpp
  158. @@ -6,18 +6,18 @@
  159. *
  160. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  161. * Permission to use, copy, modify, and distribute this
  162. * software is freely granted, provided that this notice
  163. * is preserved.
  164. * ====================================================
  165. */
  166. -#include <sys/cdefs.h>
  167. -__FBSDID("$FreeBSD$");
  168. +//#include <sys/cdefs.h>
  169. +//__FBSDID("$FreeBSD$");
  170. /* __ieee754_hypot(x,y)
  171. *
  172. * Method :
  173. * If (assume round-to-nearest) z=x*x+y*y
  174. * has error less than sqrt(2)/2 ulp, than
  175. * sqrt(z) has error less than 1 ulp (exercise).
  176. *
  177. diff --git a/modules/fdlibm/src/e_log.cpp b/modules/fdlibm/src/e_log.cpp
  178. --- a/modules/fdlibm/src/e_log.cpp
  179. +++ b/modules/fdlibm/src/e_log.cpp
  180. @@ -6,18 +6,18 @@
  181. *
  182. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  183. * Permission to use, copy, modify, and distribute this
  184. * software is freely granted, provided that this notice
  185. * is preserved.
  186. * ====================================================
  187. */
  188. -#include <sys/cdefs.h>
  189. -__FBSDID("$FreeBSD$");
  190. +//#include <sys/cdefs.h>
  191. +//__FBSDID("$FreeBSD$");
  192. /* __ieee754_log(x)
  193. * Return the logrithm of x
  194. *
  195. * Method :
  196. * 1. Argument Reduction: find k and f such that
  197. * x = 2^k * (1+f),
  198. * where sqrt(2)/2 < 1+f < sqrt(2) .
  199. diff --git a/modules/fdlibm/src/e_log10.cpp b/modules/fdlibm/src/e_log10.cpp
  200. --- a/modules/fdlibm/src/e_log10.cpp
  201. +++ b/modules/fdlibm/src/e_log10.cpp
  202. @@ -6,32 +6,32 @@
  203. *
  204. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  205. * Permission to use, copy, modify, and distribute this
  206. * software is freely granted, provided that this notice
  207. * is preserved.
  208. * ====================================================
  209. */
  210. -#include <sys/cdefs.h>
  211. -__FBSDID("$FreeBSD$");
  212. +//#include <sys/cdefs.h>
  213. +//__FBSDID("$FreeBSD$");
  214. /*
  215. * Return the base 10 logarithm of x. See e_log.c and k_log.h for most
  216. * comments.
  217. *
  218. * log10(x) = (f - 0.5*f*f + k_log1p(f)) / ln10 + k * log10(2)
  219. * in not-quite-routine extra precision.
  220. */
  221. #include <float.h>
  222. #include "math_private.h"
  223. #include "k_log.h"
  224. -
  225. +
  226. static const double
  227. two54 = 1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */
  228. ivln10hi = 4.34294481878168880939e-01, /* 0x3fdbcb7b, 0x15200000 */
  229. ivln10lo = 2.50829467116452752298e-11, /* 0x3dbb9438, 0xca9aadd5 */
  230. log10_2hi = 3.01029995663611771306e-01, /* 0x3FD34413, 0x509F6000 */
  231. log10_2lo = 3.69423907715893078616e-13; /* 0x3D59FEF3, 0x11F12B36 */
  232. static const double zero = 0.0;
  233. diff --git a/modules/fdlibm/src/e_log2.cpp b/modules/fdlibm/src/e_log2.cpp
  234. --- a/modules/fdlibm/src/e_log2.cpp
  235. +++ b/modules/fdlibm/src/e_log2.cpp
  236. @@ -6,18 +6,18 @@
  237. *
  238. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  239. * Permission to use, copy, modify, and distribute this
  240. * software is freely granted, provided that this notice
  241. * is preserved.
  242. * ====================================================
  243. */
  244. -#include <sys/cdefs.h>
  245. -__FBSDID("$FreeBSD$");
  246. +//#include <sys/cdefs.h>
  247. +//__FBSDID("$FreeBSD$");
  248. /*
  249. * Return the base 2 logarithm of x. See e_log.c and k_log.h for most
  250. * comments.
  251. *
  252. * This reduces x to {k, 1+f} exactly as in e_log.c, then calls the kernel,
  253. * then does the combining and scaling steps
  254. * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k
  255. diff --git a/modules/fdlibm/src/e_pow.cpp b/modules/fdlibm/src/e_pow.cpp
  256. --- a/modules/fdlibm/src/e_pow.cpp
  257. +++ b/modules/fdlibm/src/e_pow.cpp
  258. @@ -4,18 +4,18 @@
  259. * Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
  260. *
  261. * Permission to use, copy, modify, and distribute this
  262. * software is freely granted, provided that this notice
  263. * is preserved.
  264. * ====================================================
  265. */
  266. -#include <sys/cdefs.h>
  267. -__FBSDID("$FreeBSD$");
  268. +//#include <sys/cdefs.h>
  269. +//__FBSDID("$FreeBSD$");
  270. /* __ieee754_pow(x,y) return x**y
  271. *
  272. * n
  273. * Method: Let x = 2 * (1+f)
  274. * 1. Compute and return log2(x) in two pieces:
  275. * log2(x) = w1 + w2,
  276. * where w1 has 53-24 = 29 bit trailing zeros.
  277. diff --git a/modules/fdlibm/src/e_sinh.cpp b/modules/fdlibm/src/e_sinh.cpp
  278. --- a/modules/fdlibm/src/e_sinh.cpp
  279. +++ b/modules/fdlibm/src/e_sinh.cpp
  280. @@ -6,18 +6,18 @@
  281. *
  282. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  283. * Permission to use, copy, modify, and distribute this
  284. * software is freely granted, provided that this notice
  285. * is preserved.
  286. * ====================================================
  287. */
  288. -#include <sys/cdefs.h>
  289. -__FBSDID("$FreeBSD$");
  290. +//#include <sys/cdefs.h>
  291. +//__FBSDID("$FreeBSD$");
  292. /* __ieee754_sinh(x)
  293. * Method :
  294. * mathematically sinh(x) if defined to be (exp(x)-exp(-x))/2
  295. * 1. Replace x by |x| (sinh(-x) = -sinh(x)).
  296. * 2.
  297. * E + E/(E+1)
  298. * 0 <= x <= 22 : sinh(x) := --------------, E=expm1(x)
  299. diff --git a/modules/fdlibm/src/k_exp.cpp b/modules/fdlibm/src/k_exp.cpp
  300. --- a/modules/fdlibm/src/k_exp.cpp
  301. +++ b/modules/fdlibm/src/k_exp.cpp
  302. @@ -21,22 +21,22 @@
  303. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  304. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  305. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  306. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  307. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  308. * SUCH DAMAGE.
  309. */
  310. -#include <sys/cdefs.h>
  311. -__FBSDID("$FreeBSD$");
  312. +//#include <sys/cdefs.h>
  313. +//__FBSDID("$FreeBSD$");
  314. #include <complex.h>
  315. -#include "math_private.h"
  316. + #include "math_private.h"
  317. static const uint32_t k = 1799; /* constant for reduction */
  318. static const double kln2 = 1246.97177782734161156; /* k * ln2 */
  319. /*
  320. * Compute exp(x), scaled to avoid spurious overflow. An exponent is
  321. * returned separately in 'expt'.
  322. *
  323. diff --git a/modules/fdlibm/src/k_log.h b/modules/fdlibm/src/k_log.h
  324. --- a/modules/fdlibm/src/k_log.h
  325. +++ b/modules/fdlibm/src/k_log.h
  326. @@ -6,18 +6,18 @@
  327. *
  328. * Developed at SunSoft, a Sun Microsystems, Inc. business.
  329. * Permission to use, copy, modify, and distribute this
  330. * software is freely granted, provided that this notice
  331. * is preserved.
  332. * ====================================================
  333. */
  334. -#include <sys/cdefs.h>
  335. -__FBSDID("$FreeBSD$");
  336. +//#include <sys/cdefs.h>
  337. +//__FBSDID("$FreeBSD$");
  338. /*
  339. * k_log1p(f):
  340. * Return log(1+f) - f for 1+f in ~[sqrt(2)/2, sqrt(2)].
  341. *
  342. * The following describes the overall strategy for computing
  343. * logarithms in base e. The argument reduction and adding the final
  344. * term of the polynomial are done by the caller for increased accuracy
  345. diff --git a/modules/fdlibm/src/s_asinh.cpp b/modules/fdlibm/src/s_asinh.cpp
  346. --- a/modules/fdlibm/src/s_asinh.cpp
  347. +++ b/modules/fdlibm/src/s_asinh.cpp
  348. @@ -5,18 +5,18 @@
  349. *
  350. * Developed at SunPro, a Sun Microsystems, Inc. business.
  351. * Permission to use, copy, modify, and distribute this
  352. * software is freely granted, provided that this notice
  353. * is preserved.
  354. * ====================================================
  355. */
  356. -#include <sys/cdefs.h>
  357. -__FBSDID("$FreeBSD$");
  358. +//#include <sys/cdefs.h>
  359. +//__FBSDID("$FreeBSD$");
  360. /* asinh(x)
  361. * Method :
  362. * Based on
  363. * asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ]
  364. * we have
  365. * asinh(x) := x if 1+x*x=1,
  366. * := sign(x)*(log(x)+ln2)) for large |x|, else
  367. diff --git a/modules/fdlibm/src/s_atan.cpp b/modules/fdlibm/src/s_atan.cpp
  368. --- a/modules/fdlibm/src/s_atan.cpp
  369. +++ b/modules/fdlibm/src/s_atan.cpp
  370. @@ -5,18 +5,18 @@
  371. *
  372. * Developed at SunPro, a Sun Microsystems, Inc. business.
  373. * Permission to use, copy, modify, and distribute this
  374. * software is freely granted, provided that this notice
  375. * is preserved.
  376. * ====================================================
  377. */
  378. -#include <sys/cdefs.h>
  379. -__FBSDID("$FreeBSD$");
  380. +//#include <sys/cdefs.h>
  381. +//__FBSDID("$FreeBSD$");
  382. /* atan(x)
  383. * Method
  384. * 1. Reduce x to positive by atan(x) = -atan(-x).
  385. * 2. According to the integer k=4t+0.25 chopped, t=x, the argument
  386. * is further reduced to one of the following intervals and the
  387. * arctangent of t is evaluated by the corresponding formula:
  388. *
  389. diff --git a/modules/fdlibm/src/s_cbrt.cpp b/modules/fdlibm/src/s_cbrt.cpp
  390. --- a/modules/fdlibm/src/s_cbrt.cpp
  391. +++ b/modules/fdlibm/src/s_cbrt.cpp
  392. @@ -7,18 +7,18 @@
  393. * Permission to use, copy, modify, and distribute this
  394. * software is freely granted, provided that this notice
  395. * is preserved.
  396. * ====================================================
  397. *
  398. * Optimized by Bruce D. Evans.
  399. */
  400. -#include <sys/cdefs.h>
  401. -__FBSDID("$FreeBSD$");
  402. +//#include <sys/cdefs.h>
  403. +//__FBSDID("$FreeBSD$");
  404. #include <float.h>
  405. #include "math_private.h"
  406. /* cbrt(x)
  407. * Return cube root of x
  408. */
  409. static const u_int32_t
  410. diff --git a/modules/fdlibm/src/s_ceil.cpp b/modules/fdlibm/src/s_ceil.cpp
  411. --- a/modules/fdlibm/src/s_ceil.cpp
  412. +++ b/modules/fdlibm/src/s_ceil.cpp
  413. @@ -5,18 +5,18 @@
  414. *
  415. * Developed at SunPro, a Sun Microsystems, Inc. business.
  416. * Permission to use, copy, modify, and distribute this
  417. * software is freely granted, provided that this notice
  418. * is preserved.
  419. * ====================================================
  420. */
  421. -#include <sys/cdefs.h>
  422. -__FBSDID("$FreeBSD$");
  423. +//#include <sys/cdefs.h>
  424. +//__FBSDID("$FreeBSD$");
  425. /*
  426. * ceil(x)
  427. * Return x rounded toward -inf to integral value
  428. * Method:
  429. * Bit twiddling.
  430. * Exception:
  431. * Inexact flag raised if x not equal to ceil(x).
  432. diff --git a/modules/fdlibm/src/s_ceilf.cpp b/modules/fdlibm/src/s_ceilf.cpp
  433. --- a/modules/fdlibm/src/s_ceilf.cpp
  434. +++ b/modules/fdlibm/src/s_ceilf.cpp
  435. @@ -8,18 +8,18 @@
  436. *
  437. * Developed at SunPro, a Sun Microsystems, Inc. business.
  438. * Permission to use, copy, modify, and distribute this
  439. * software is freely granted, provided that this notice
  440. * is preserved.
  441. * ====================================================
  442. */
  443. -#include <sys/cdefs.h>
  444. -__FBSDID("$FreeBSD$");
  445. +//#include <sys/cdefs.h>
  446. +//__FBSDID("$FreeBSD$");
  447. #include "math_private.h"
  448. static const float huge = 1.0e30;
  449. float
  450. ceilf(float x)
  451. {
  452. diff --git a/modules/fdlibm/src/s_copysign.cpp b/modules/fdlibm/src/s_copysign.cpp
  453. --- a/modules/fdlibm/src/s_copysign.cpp
  454. +++ b/modules/fdlibm/src/s_copysign.cpp
  455. @@ -5,18 +5,18 @@
  456. *
  457. * Developed at SunPro, a Sun Microsystems, Inc. business.
  458. * Permission to use, copy, modify, and distribute this
  459. * software is freely granted, provided that this notice
  460. * is preserved.
  461. * ====================================================
  462. */
  463. -#include <sys/cdefs.h>
  464. -__FBSDID("$FreeBSD$");
  465. +//#include <sys/cdefs.h>
  466. +//__FBSDID("$FreeBSD$");
  467. /*
  468. * copysign(double x, double y)
  469. * copysign(x,y) returns a value with the magnitude of x and
  470. * with the sign bit of y.
  471. */
  472. #include "math_private.h"
  473. diff --git a/modules/fdlibm/src/s_expm1.cpp b/modules/fdlibm/src/s_expm1.cpp
  474. --- a/modules/fdlibm/src/s_expm1.cpp
  475. +++ b/modules/fdlibm/src/s_expm1.cpp
  476. @@ -5,18 +5,18 @@
  477. *
  478. * Developed at SunPro, a Sun Microsystems, Inc. business.
  479. * Permission to use, copy, modify, and distribute this
  480. * software is freely granted, provided that this notice
  481. * is preserved.
  482. * ====================================================
  483. */
  484. -#include <sys/cdefs.h>
  485. -__FBSDID("$FreeBSD$");
  486. +//#include <sys/cdefs.h>
  487. +//__FBSDID("$FreeBSD$");
  488. /* expm1(x)
  489. * Returns exp(x)-1, the exponential of x minus 1.
  490. *
  491. * Method
  492. * 1. Argument reduction:
  493. * Given x, find r and integer k such that
  494. *
  495. diff --git a/modules/fdlibm/src/s_fabs.cpp b/modules/fdlibm/src/s_fabs.cpp
  496. --- a/modules/fdlibm/src/s_fabs.cpp
  497. +++ b/modules/fdlibm/src/s_fabs.cpp
  498. @@ -5,18 +5,18 @@
  499. *
  500. * Developed at SunPro, a Sun Microsystems, Inc. business.
  501. * Permission to use, copy, modify, and distribute this
  502. * software is freely granted, provided that this notice
  503. * is preserved.
  504. * ====================================================
  505. */
  506. -#include <sys/cdefs.h>
  507. -__FBSDID("$FreeBSD$");
  508. +//#include <sys/cdefs.h>
  509. +//__FBSDID("$FreeBSD$");
  510. /*
  511. * fabs(x) returns the absolute value of x.
  512. */
  513. #include "math_private.h"
  514. double
  515. diff --git a/modules/fdlibm/src/s_floor.cpp b/modules/fdlibm/src/s_floor.cpp
  516. --- a/modules/fdlibm/src/s_floor.cpp
  517. +++ b/modules/fdlibm/src/s_floor.cpp
  518. @@ -5,18 +5,18 @@
  519. *
  520. * Developed at SunPro, a Sun Microsystems, Inc. business.
  521. * Permission to use, copy, modify, and distribute this
  522. * software is freely granted, provided that this notice
  523. * is preserved.
  524. * ====================================================
  525. */
  526. -#include <sys/cdefs.h>
  527. -__FBSDID("$FreeBSD$");
  528. +//#include <sys/cdefs.h>
  529. +//__FBSDID("$FreeBSD$");
  530. /*
  531. * floor(x)
  532. * Return x rounded toward -inf to integral value
  533. * Method:
  534. * Bit twiddling.
  535. * Exception:
  536. * Inexact flag raised if x not equal to floor(x).
  537. diff --git a/modules/fdlibm/src/s_floorf.cpp b/modules/fdlibm/src/s_floorf.cpp
  538. --- a/modules/fdlibm/src/s_floorf.cpp
  539. +++ b/modules/fdlibm/src/s_floorf.cpp
  540. @@ -8,18 +8,18 @@
  541. *
  542. * Developed at SunPro, a Sun Microsystems, Inc. business.
  543. * Permission to use, copy, modify, and distribute this
  544. * software is freely granted, provided that this notice
  545. * is preserved.
  546. * ====================================================
  547. */
  548. -#include <sys/cdefs.h>
  549. -__FBSDID("$FreeBSD$");
  550. +//#include <sys/cdefs.h>
  551. +//__FBSDID("$FreeBSD$");
  552. /*
  553. * floorf(x)
  554. * Return x rounded toward -inf to integral value
  555. * Method:
  556. * Bit twiddling.
  557. * Exception:
  558. * Inexact flag raised if x not equal to floorf(x).
  559. diff --git a/modules/fdlibm/src/s_log1p.cpp b/modules/fdlibm/src/s_log1p.cpp
  560. --- a/modules/fdlibm/src/s_log1p.cpp
  561. +++ b/modules/fdlibm/src/s_log1p.cpp
  562. @@ -5,18 +5,18 @@
  563. *
  564. * Developed at SunPro, a Sun Microsystems, Inc. business.
  565. * Permission to use, copy, modify, and distribute this
  566. * software is freely granted, provided that this notice
  567. * is preserved.
  568. * ====================================================
  569. */
  570. -#include <sys/cdefs.h>
  571. -__FBSDID("$FreeBSD$");
  572. +//#include <sys/cdefs.h>
  573. +//__FBSDID("$FreeBSD$");
  574. /* double log1p(double x)
  575. *
  576. * Method :
  577. * 1. Argument Reduction: find k and f such that
  578. * 1+x = 2^k * (1+f),
  579. * where sqrt(2)/2 < 1+f < sqrt(2) .
  580. *
  581. diff --git a/modules/fdlibm/src/s_nearbyint.cpp b/modules/fdlibm/src/s_nearbyint.cpp
  582. --- a/modules/fdlibm/src/s_nearbyint.cpp
  583. +++ b/modules/fdlibm/src/s_nearbyint.cpp
  584. @@ -21,18 +21,18 @@
  585. * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  586. * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  587. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  588. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  589. * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  590. * SUCH DAMAGE.
  591. */
  592. -#include <sys/cdefs.h>
  593. -__FBSDID("$FreeBSD$");
  594. +//#include <sys/cdefs.h>
  595. +//__FBSDID("$FreeBSD$");
  596. #include <fenv.h>
  597. #include "math_private.h"
  598. /*
  599. * We save and restore the floating-point environment to avoid raising
  600. * an inexact exception. We can get away with using fesetenv()
  601. * instead of feclearexcept()/feupdateenv() to restore the environment
  602. diff --git a/modules/fdlibm/src/s_rint.cpp b/modules/fdlibm/src/s_rint.cpp
  603. --- a/modules/fdlibm/src/s_rint.cpp
  604. +++ b/modules/fdlibm/src/s_rint.cpp
  605. @@ -5,18 +5,18 @@
  606. *
  607. * Developed at SunPro, a Sun Microsystems, Inc. business.
  608. * Permission to use, copy, modify, and distribute this
  609. * software is freely granted, provided that this notice
  610. * is preserved.
  611. * ====================================================
  612. */
  613. -#include <sys/cdefs.h>
  614. -__FBSDID("$FreeBSD$");
  615. +//#include <sys/cdefs.h>
  616. +//__FBSDID("$FreeBSD$");
  617. /*
  618. * rint(x)
  619. * Return x rounded to integral value according to the prevailing
  620. * rounding mode.
  621. * Method:
  622. * Using floating addition.
  623. * Exception:
  624. diff --git a/modules/fdlibm/src/s_rintf.cpp b/modules/fdlibm/src/s_rintf.cpp
  625. --- a/modules/fdlibm/src/s_rintf.cpp
  626. +++ b/modules/fdlibm/src/s_rintf.cpp
  627. @@ -8,18 +8,18 @@
  628. *
  629. * Developed at SunPro, a Sun Microsystems, Inc. business.
  630. * Permission to use, copy, modify, and distribute this
  631. * software is freely granted, provided that this notice
  632. * is preserved.
  633. * ====================================================
  634. */
  635. -#include <sys/cdefs.h>
  636. -__FBSDID("$FreeBSD$");
  637. +//#include <sys/cdefs.h>
  638. +//__FBSDID("$FreeBSD$");
  639. #include <float.h>
  640. #include <stdint.h>
  641. #include "math_private.h"
  642. static const float
  643. TWO23[2]={
  644. diff --git a/modules/fdlibm/src/s_scalbn.cpp b/modules/fdlibm/src/s_scalbn.cpp
  645. --- a/modules/fdlibm/src/s_scalbn.cpp
  646. +++ b/modules/fdlibm/src/s_scalbn.cpp
  647. @@ -5,18 +5,18 @@
  648. *
  649. * Developed at SunPro, a Sun Microsystems, Inc. business.
  650. * Permission to use, copy, modify, and distribute this
  651. * software is freely granted, provided that this notice
  652. * is preserved.
  653. * ====================================================
  654. */
  655. -#include <sys/cdefs.h>
  656. -__FBSDID("$FreeBSD$");
  657. +//#include <sys/cdefs.h>
  658. +//__FBSDID("$FreeBSD$");
  659. /*
  660. * scalbn (double x, int n)
  661. * scalbn(x,n) returns x* 2**n computed by exponent
  662. * manipulation rather than by actually performing an
  663. * exponentiation or a multiplication.
  664. */
  665. diff --git a/modules/fdlibm/src/s_tanh.cpp b/modules/fdlibm/src/s_tanh.cpp
  666. --- a/modules/fdlibm/src/s_tanh.cpp
  667. +++ b/modules/fdlibm/src/s_tanh.cpp
  668. @@ -5,18 +5,18 @@
  669. *
  670. * Developed at SunPro, a Sun Microsystems, Inc. business.
  671. * Permission to use, copy, modify, and distribute this
  672. * software is freely granted, provided that this notice
  673. * is preserved.
  674. * ====================================================
  675. */
  676. -#include <sys/cdefs.h>
  677. -__FBSDID("$FreeBSD$");
  678. +//#include <sys/cdefs.h>
  679. +//__FBSDID("$FreeBSD$");
  680. /* Tanh(x)
  681. * Return the Hyperbolic Tangent of x
  682. *
  683. * Method :
  684. * x -x
  685. * e - e
  686. * 0. tanh(x) is defined to be -----------
  687. diff --git a/modules/fdlibm/src/s_trunc.cpp b/modules/fdlibm/src/s_trunc.cpp
  688. --- a/modules/fdlibm/src/s_trunc.cpp
  689. +++ b/modules/fdlibm/src/s_trunc.cpp
  690. @@ -5,18 +5,18 @@
  691. *
  692. * Developed at SunPro, a Sun Microsystems, Inc. business.
  693. * Permission to use, copy, modify, and distribute this
  694. * software is freely granted, provided that this notice
  695. * is preserved.
  696. * ====================================================
  697. */
  698. -#include <sys/cdefs.h>
  699. -__FBSDID("$FreeBSD$");
  700. +//#include <sys/cdefs.h>
  701. +//__FBSDID("$FreeBSD$");
  702. /*
  703. * trunc(x)
  704. * Return x rounded toward 0 to integral value
  705. * Method:
  706. * Bit twiddling.
  707. * Exception:
  708. * Inexact flag raised if x not equal to trunc(x).
  709. diff --git a/modules/fdlibm/src/s_truncf.cpp b/modules/fdlibm/src/s_truncf.cpp
  710. --- a/modules/fdlibm/src/s_truncf.cpp
  711. +++ b/modules/fdlibm/src/s_truncf.cpp
  712. @@ -5,18 +5,18 @@
  713. *
  714. * Developed at SunPro, a Sun Microsystems, Inc. business.
  715. * Permission to use, copy, modify, and distribute this
  716. * software is freely granted, provided that this notice
  717. * is preserved.
  718. * ====================================================
  719. */
  720. -#include <sys/cdefs.h>
  721. -__FBSDID("$FreeBSD$");
  722. +//#include <sys/cdefs.h>
  723. +//__FBSDID("$FreeBSD$");
  724. /*
  725. * truncf(x)
  726. * Return x rounded toward 0 to integral value
  727. * Method:
  728. * Bit twiddling.
  729. * Exception:
  730. * Inexact flag raised if x not equal to truncf(x).