Debian Codegraph @

modules/fdlibm/patches/09_comment_out_rcsid_variable.patch

raw
1 diff --git a/e_acos.cpp b/e_acos.cpp
2 --- a/e_acos.cpp
3 +++ b/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
13 -#include <sys/cdefs.h>
14 -__FBSDID("$FreeBSD$");
15 +//#include <sys/cdefs.h>
16 +//__FBSDID("$FreeBSD$");
17
18 /* __ieee754_acos(x)
19 * Method :
20 * acos(x) = pi/2 - asin(x)
21 * acos(-x) = pi/2 + asin(x)
22 * For |x|<=0.5
23 * acos(x) = pi/2 - (x + x*x^2*R(x^2)) (see asin.c)
24 * For x>0.5
25 diff --git a/e_acosh.cpp b/e_acosh.cpp
26 --- a/e_acosh.cpp
27 +++ b/e_acosh.cpp
28 @@ -7,18 +7,18 @@
29 * Developed at SunSoft, a Sun Microsystems, Inc. business.
30 * Permission to use, copy, modify, and distribute this
31 * software is freely granted, provided that this notice
32 * is preserved.
33 * ====================================================
34 *
35 */
36
37 -#include <sys/cdefs.h>
38 -__FBSDID("$FreeBSD$");
39 +//#include <sys/cdefs.h>
40 +//__FBSDID("$FreeBSD$");
41
42 /* __ieee754_acosh(x)
43 * Method :
44 * Based on
45 * acosh(x) = log [ x + sqrt(x*x-1) ]
46 * we have
47 * acosh(x) := log(x)+ln2, if x is large; else
48 * acosh(x) := log(2x-1/(sqrt(x*x-1)+x)) if x>2; else
49 diff --git a/e_asin.cpp b/e_asin.cpp
50 --- a/e_asin.cpp
51 +++ b/e_asin.cpp
52 @@ -6,18 +6,18 @@
53 *
54 * Developed at SunSoft, a Sun Microsystems, Inc. business.
55 * Permission to use, copy, modify, and distribute this
56 * software is freely granted, provided that this notice
57 * is preserved.
58 * ====================================================
59 */
60
61 -#include <sys/cdefs.h>
62 -__FBSDID("$FreeBSD$");
63 +//#include <sys/cdefs.h>
64 +//__FBSDID("$FreeBSD$");
65
66 /* __ieee754_asin(x)
67 * Method :
68 * Since asin(x) = x + x^3/6 + x^5*3/40 + x^7*15/336 + ...
69 * we approximate asin(x) on [0,0.5] by
70 * asin(x) = x + x*x^2*R(x^2)
71 * where
72 * R(x^2) is a rational approximation of (asin(x)-x)/x^3
73 diff --git a/e_atan2.cpp b/e_atan2.cpp
74 --- a/e_atan2.cpp
75 +++ b/e_atan2.cpp
76 @@ -7,18 +7,18 @@
77 * Developed at SunSoft, a Sun Microsystems, Inc. business.
78 * Permission to use, copy, modify, and distribute this
79 * software is freely granted, provided that this notice
80 * is preserved.
81 * ====================================================
82 *
83 */
84
85 -#include <sys/cdefs.h>
86 -__FBSDID("$FreeBSD$");
87 +//#include <sys/cdefs.h>
88 +//__FBSDID("$FreeBSD$");
89
90 /* __ieee754_atan2(y,x)
91 * Method :
92 * 1. Reduce y to positive by atan2(y,x)=-atan2(-y,x).
93 * 2. Reduce x to positive by (if x and y are unexceptional):
94 * ARG (x+iy) = arctan(y/x) ... if x > 0,
95 * ARG (x+iy) = pi - arctan[y/(-x)] ... if x < 0,
96 *
97 diff --git a/e_atanh.cpp b/e_atanh.cpp
98 --- a/e_atanh.cpp
99 +++ b/e_atanh.cpp
100 @@ -7,18 +7,18 @@
101 * Developed at SunSoft, a Sun Microsystems, Inc. business.
102 * Permission to use, copy, modify, and distribute this
103 * software is freely granted, provided that this notice
104 * is preserved.
105 * ====================================================
106 *
107 */
108
109 -#include <sys/cdefs.h>
110 -__FBSDID("$FreeBSD$");
111 +//#include <sys/cdefs.h>
112 +//__FBSDID("$FreeBSD$");
113
114 /* __ieee754_atanh(x)
115 * Method :
116 * 1.Reduced x to positive by atanh(-x) = -atanh(x)
117 * 2.For x>=0.5
118 * 1 2x x
119 * atanh(x) = --- * log(1 + -------) = 0.5 * log1p(2 * --------)
120 * 2 1 - x 1 - x
121 diff --git a/e_cosh.cpp b/e_cosh.cpp
122 --- a/e_cosh.cpp
123 +++ b/e_cosh.cpp
124 @@ -6,18 +6,18 @@
125 *
126 * Developed at SunSoft, a Sun Microsystems, Inc. business.
127 * Permission to use, copy, modify, and distribute this
128 * software is freely granted, provided that this notice
129 * is preserved.
130 * ====================================================
131 */
132
133 -#include <sys/cdefs.h>
134 -__FBSDID("$FreeBSD$");
135 +//#include <sys/cdefs.h>
136 +//__FBSDID("$FreeBSD$");
137
138 /* __ieee754_cosh(x)
139 * Method :
140 * mathematically cosh(x) if defined to be (exp(x)+exp(-x))/2
141 * 1. Replace x by |x| (cosh(x) = cosh(-x)).
142 * 2.
143 * [ exp(x) - 1 ]^2
144 * 0 <= x <= ln2/2 : cosh(x) := 1 + -------------------
145 diff --git a/e_exp.cpp b/e_exp.cpp
146 --- a/e_exp.cpp
147 +++ b/e_exp.cpp
148 @@ -5,18 +5,18 @@
149 * Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
150 *
151 * Permission to use, copy, modify, and distribute this
152 * software is freely granted, provided that this notice
153 * is preserved.
154 * ====================================================
155 */
156
157 -#include <sys/cdefs.h>
158 -__FBSDID("$FreeBSD$");
159 +//#include <sys/cdefs.h>
160 +//__FBSDID("$FreeBSD$");
161
162 /* __ieee754_exp(x)
163 * Returns the exponential of x.
164 *
165 * Method
166 * 1. Argument reduction:
167 * Reduce x to an r so that |r| <= 0.5*ln2 ~ 0.34658.
168 * Given x, find r and integer k such that
169 diff --git a/e_hypot.cpp b/e_hypot.cpp
170 --- a/e_hypot.cpp
171 +++ b/e_hypot.cpp
172 @@ -6,18 +6,18 @@
173 *
174 * Developed at SunSoft, a Sun Microsystems, Inc. business.
175 * Permission to use, copy, modify, and distribute this
176 * software is freely granted, provided that this notice
177 * is preserved.
178 * ====================================================
179 */
180
181 -#include <sys/cdefs.h>
182 -__FBSDID("$FreeBSD$");
183 +//#include <sys/cdefs.h>
184 +//__FBSDID("$FreeBSD$");
185
186 /* __ieee754_hypot(x,y)
187 *
188 * Method :
189 * If (assume round-to-nearest) z=x*x+y*y
190 * has error less than sqrt(2)/2 ulp, than
191 * sqrt(z) has error less than 1 ulp (exercise).
192 *
193 diff --git a/e_hypotf.cpp b/e_hypotf.cpp
194 --- a/e_hypotf.cpp
195 +++ b/e_hypotf.cpp
196 @@ -8,18 +8,18 @@
197 *
198 * Developed at SunPro, a Sun Microsystems, Inc. business.
199 * Permission to use, copy, modify, and distribute this
200 * software is freely granted, provided that this notice
201 * is preserved.
202 * ====================================================
203 */
204
205 -#include <sys/cdefs.h>
206 -__FBSDID("$FreeBSD$");
207 +//#include <sys/cdefs.h>
208 +//__FBSDID("$FreeBSD$");
209
210 #include "math.h"
211 #include "math_private.h"
212
213 float
214 __ieee754_hypotf(float x, float y)
215 {
216 float a,b,t1,t2,y1,y2,w;
217 diff --git a/e_log.cpp b/e_log.cpp
218 --- a/e_log.cpp
219 +++ b/e_log.cpp
220 @@ -6,18 +6,18 @@
221 *
222 * Developed at SunSoft, a Sun Microsystems, Inc. business.
223 * Permission to use, copy, modify, and distribute this
224 * software is freely granted, provided that this notice
225 * is preserved.
226 * ====================================================
227 */
228
229 -#include <sys/cdefs.h>
230 -__FBSDID("$FreeBSD$");
231 +//#include <sys/cdefs.h>
232 +//__FBSDID("$FreeBSD$");
233
234 /* __ieee754_log(x)
235 * Return the logrithm of x
236 *
237 * Method :
238 * 1. Argument Reduction: find k and f such that
239 * x = 2^k * (1+f),
240 * where sqrt(2)/2 < 1+f < sqrt(2) .
241 diff --git a/e_log10.cpp b/e_log10.cpp
242 --- a/e_log10.cpp
243 +++ b/e_log10.cpp
244 @@ -6,32 +6,32 @@
245 *
246 * Developed at SunSoft, a Sun Microsystems, Inc. business.
247 * Permission to use, copy, modify, and distribute this
248 * software is freely granted, provided that this notice
249 * is preserved.
250 * ====================================================
251 */
252
253 -#include <sys/cdefs.h>
254 -__FBSDID("$FreeBSD$");
255 +//#include <sys/cdefs.h>
256 +//__FBSDID("$FreeBSD$");
257
258 /*
259 * Return the base 10 logarithm of x. See e_log.c and k_log.h for most
260 * comments.
261 *
262 * log10(x) = (f - 0.5*f*f + k_log1p(f)) / ln10 + k * log10(2)
263 * in not-quite-routine extra precision.
264 */
265
266 #include <float.h>
267
268 #include "math_private.h"
269 #include "k_log.h"
270 -
271 +
272 static const double
273 two54 = 1.80143985094819840000e+16, /* 0x43500000, 0x00000000 */
274 ivln10hi = 4.34294481878168880939e-01, /* 0x3fdbcb7b, 0x15200000 */
275 ivln10lo = 2.50829467116452752298e-11, /* 0x3dbb9438, 0xca9aadd5 */
276 log10_2hi = 3.01029995663611771306e-01, /* 0x3FD34413, 0x509F6000 */
277 log10_2lo = 3.69423907715893078616e-13; /* 0x3D59FEF3, 0x11F12B36 */
278
279 static const double zero = 0.0;
280 diff --git a/e_log10f.cpp b/e_log10f.cpp
281 --- a/e_log10f.cpp
282 +++ b/e_log10f.cpp
283 @@ -4,18 +4,18 @@
284 *
285 * Developed at SunPro, a Sun Microsystems, Inc. business.
286 * Permission to use, copy, modify, and distribute this
287 * software is freely granted, provided that this notice
288 * is preserved.
289 * ====================================================
290 */
291
292 -#include <sys/cdefs.h>
293 -__FBSDID("$FreeBSD$");
294 +//#include <sys/cdefs.h>
295 +//__FBSDID("$FreeBSD$");
296
297 /*
298 * Float version of e_log10.c. See the latter for most comments.
299 */
300
301 #include "math.h"
302 #include "math_private.h"
303 #include "k_logf.h"
304 diff --git a/e_log2.cpp b/e_log2.cpp
305 --- a/e_log2.cpp
306 +++ b/e_log2.cpp
307 @@ -6,18 +6,18 @@
308 *
309 * Developed at SunSoft, a Sun Microsystems, Inc. business.
310 * Permission to use, copy, modify, and distribute this
311 * software is freely granted, provided that this notice
312 * is preserved.
313 * ====================================================
314 */
315
316 -#include <sys/cdefs.h>
317 -__FBSDID("$FreeBSD$");
318 +//#include <sys/cdefs.h>
319 +//__FBSDID("$FreeBSD$");
320
321 /*
322 * Return the base 2 logarithm of x. See e_log.c and k_log.h for most
323 * comments.
324 *
325 * This reduces x to {k, 1+f} exactly as in e_log.c, then calls the kernel,
326 * then does the combining and scaling steps
327 * log2(x) = (f - 0.5*f*f + k_log1p(f)) / ln2 + k
328 diff --git a/e_pow.cpp b/e_pow.cpp
329 --- a/e_pow.cpp
330 +++ b/e_pow.cpp
331 @@ -4,18 +4,18 @@
332 * Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
333 *
334 * Permission to use, copy, modify, and distribute this
335 * software is freely granted, provided that this notice
336 * is preserved.
337 * ====================================================
338 */
339
340 -#include <sys/cdefs.h>
341 -__FBSDID("$FreeBSD$");
342 +//#include <sys/cdefs.h>
343 +//__FBSDID("$FreeBSD$");
344
345 /* __ieee754_pow(x,y) return x**y
346 *
347 * n
348 * Method: Let x = 2 * (1+f)
349 * 1. Compute and return log2(x) in two pieces:
350 * log2(x) = w1 + w2,
351 * where w1 has 53-24 = 29 bit trailing zeros.
352 diff --git a/e_rem_pio2.cpp b/e_rem_pio2.cpp
353 --- a/e_rem_pio2.cpp
354 +++ b/e_rem_pio2.cpp
355 @@ -8,18 +8,18 @@
356 * Permission to use, copy, modify, and distribute this
357 * software is freely granted, provided that this notice
358 * is preserved.
359 * ====================================================
360 *
361 * Optimized by Bruce D. Evans.
362 */
363
364 -#include <sys/cdefs.h>
365 -__FBSDID("$FreeBSD$");
366 +//#include <sys/cdefs.h>
367 +//__FBSDID("$FreeBSD$");
368
369 /* __ieee754_rem_pio2(x,y)
370 *
371 * return the remainder of x rem pi/2 in y[0]+y[1]
372 * use __kernel_rem_pio2()
373 */
374
375 #include <float.h>
376 diff --git a/e_sinh.cpp b/e_sinh.cpp
377 --- a/e_sinh.cpp
378 +++ b/e_sinh.cpp
379 @@ -6,18 +6,18 @@
380 *
381 * Developed at SunSoft, a Sun Microsystems, Inc. business.
382 * Permission to use, copy, modify, and distribute this
383 * software is freely granted, provided that this notice
384 * is preserved.
385 * ====================================================
386 */
387
388 -#include <sys/cdefs.h>
389 -__FBSDID("$FreeBSD$");
390 +//#include <sys/cdefs.h>
391 +//__FBSDID("$FreeBSD$");
392
393 /* __ieee754_sinh(x)
394 * Method :
395 * mathematically sinh(x) if defined to be (exp(x)-exp(-x))/2
396 * 1. Replace x by |x| (sinh(-x) = -sinh(x)).
397 * 2.
398 * E + E/(E+1)
399 * 0 <= x <= 22 : sinh(x) := --------------, E=expm1(x)
400 diff --git a/k_cos.cpp b/k_cos.cpp
401 --- a/k_cos.cpp
402 +++ b/k_cos.cpp
403 @@ -6,18 +6,18 @@
404 *
405 * Developed at SunSoft, a Sun Microsystems, Inc. business.
406 * Permission to use, copy, modify, and distribute this
407 * software is freely granted, provided that this notice
408 * is preserved.
409 * ====================================================
410 */
411
412 -#include <sys/cdefs.h>
413 -__FBSDID("$FreeBSD$");
414 +//#include <sys/cdefs.h>
415 +//__FBSDID("$FreeBSD$");
416
417 /*
418 * __kernel_cos( x, y )
419 * kernel cos function on [-pi/4, pi/4], pi/4 ~ 0.785398164
420 * Input x is assumed to be bounded by ~pi/4 in magnitude.
421 * Input y is the tail of x.
422 *
423 * Algorithm
424 diff --git a/k_exp.cpp b/k_exp.cpp
425 --- a/k_exp.cpp
426 +++ b/k_exp.cpp
427 @@ -21,22 +21,22 @@
428 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
429 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
430 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
431 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
432 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
433 * SUCH DAMAGE.
434 */
435
436 -#include <sys/cdefs.h>
437 -__FBSDID("$FreeBSD$");
438 +//#include <sys/cdefs.h>
439 +//__FBSDID("$FreeBSD$");
440
441 #include <complex.h>
442
443 -#include "math_private.h"
444 + #include "math_private.h"
445
446 static const uint32_t k = 1799; /* constant for reduction */
447 static const double kln2 = 1246.97177782734161156; /* k * ln2 */
448
449 /*
450 * Compute exp(x), scaled to avoid spurious overflow. An exponent is
451 * returned separately in 'expt'.
452 *
453 diff --git a/k_log.h b/k_log.h
454 --- a/k_log.h
455 +++ b/k_log.h
456 @@ -6,18 +6,18 @@
457 *
458 * Developed at SunSoft, a Sun Microsystems, Inc. business.
459 * Permission to use, copy, modify, and distribute this
460 * software is freely granted, provided that this notice
461 * is preserved.
462 * ====================================================
463 */
464
465 -#include <sys/cdefs.h>
466 -__FBSDID("$FreeBSD$");
467 +//#include <sys/cdefs.h>
468 +//__FBSDID("$FreeBSD$");
469
470 /*
471 * k_log1p(f):
472 * Return log(1+f) - f for 1+f in ~[sqrt(2)/2, sqrt(2)].
473 *
474 * The following describes the overall strategy for computing
475 * logarithms in base e. The argument reduction and adding the final
476 * term of the polynomial are done by the caller for increased accuracy
477 diff --git a/k_logf.h b/k_logf.h
478 --- a/k_logf.h
479 +++ b/k_logf.h
480 @@ -4,18 +4,18 @@
481 *
482 * Developed at SunPro, a Sun Microsystems, Inc. business.
483 * Permission to use, copy, modify, and distribute this
484 * software is freely granted, provided that this notice
485 * is preserved.
486 * ====================================================
487 */
488
489 -#include <sys/cdefs.h>
490 -__FBSDID("$FreeBSD$");
491 +//#include <sys/cdefs.h>
492 +//__FBSDID("$FreeBSD$");
493
494 /*
495 * Float version of k_log.h. See the latter for most comments.
496 */
497
498 static const float
499 /* |(log(1+s)-log(1-s))/s - Lg(s)| < 2**-34.24 (~[-4.95e-11, 4.97e-11]). */
500 Lg1 = 0xaaaaaa.0p-24, /* 0.66666662693 */
501 diff --git a/k_rem_pio2.cpp b/k_rem_pio2.cpp
502 --- a/k_rem_pio2.cpp
503 +++ b/k_rem_pio2.cpp
504 @@ -6,18 +6,18 @@
505 *
506 * Developed at SunSoft, a Sun Microsystems, Inc. business.
507 * Permission to use, copy, modify, and distribute this
508 * software is freely granted, provided that this notice
509 * is preserved.
510 * ====================================================
511 */
512
513 -#include <sys/cdefs.h>
514 -__FBSDID("$FreeBSD$");
515 +//#include <sys/cdefs.h>
516 +//__FBSDID("$FreeBSD$");
517
518 /*
519 * __kernel_rem_pio2(x,y,e0,nx,prec)
520 * double x[],y[]; int e0,nx,prec;
521 *
522 * __kernel_rem_pio2 return the last three digits of N with
523 * y = x - N*pi/2
524 * so that |y| < pi/2.
525 diff --git a/k_sin.cpp b/k_sin.cpp
526 --- a/k_sin.cpp
527 +++ b/k_sin.cpp
528 @@ -6,18 +6,18 @@
529 *
530 * Developed at SunSoft, a Sun Microsystems, Inc. business.
531 * Permission to use, copy, modify, and distribute this
532 * software is freely granted, provided that this notice
533 * is preserved.
534 * ====================================================
535 */
536
537 -#include <sys/cdefs.h>
538 -__FBSDID("$FreeBSD$");
539 +//#include <sys/cdefs.h>
540 +//__FBSDID("$FreeBSD$");
541
542 /* __kernel_sin( x, y, iy)
543 * kernel sin function on ~[-pi/4, pi/4] (except on -0), pi/4 ~ 0.7854
544 * Input x is assumed to be bounded by ~pi/4 in magnitude.
545 * Input y is the tail of x.
546 * Input iy indicates whether y is 0. (if iy=0, y assume to be 0).
547 *
548 * Algorithm
549 diff --git a/k_tan.cpp b/k_tan.cpp
550 --- a/k_tan.cpp
551 +++ b/k_tan.cpp
552 @@ -6,18 +6,18 @@
553 *
554 * Permission to use, copy, modify, and distribute this
555 * software is freely granted, provided that this notice
556 * is preserved.
557 * ====================================================
558 */
559
560 /* INDENT OFF */
561 -#include <sys/cdefs.h>
562 -__FBSDID("$FreeBSD$");
563 +//#include <sys/cdefs.h>
564 +//__FBSDID("$FreeBSD$");
565
566 /* __kernel_tan( x, y, k )
567 * kernel tan function on ~[-pi/4, pi/4] (except on -0), pi/4 ~ 0.7854
568 * Input x is assumed to be bounded by ~pi/4 in magnitude.
569 * Input y is the tail of x.
570 * Input k indicates whether tan (if k = 1) or -1/tan (if k = -1) is returned.
571 *
572 * Algorithm
573 diff --git a/s_asinh.cpp b/s_asinh.cpp
574 --- a/s_asinh.cpp
575 +++ b/s_asinh.cpp
576 @@ -5,18 +5,18 @@
577 *
578 * Developed at SunPro, a Sun Microsystems, Inc. business.
579 * Permission to use, copy, modify, and distribute this
580 * software is freely granted, provided that this notice
581 * is preserved.
582 * ====================================================
583 */
584
585 -#include <sys/cdefs.h>
586 -__FBSDID("$FreeBSD$");
587 +//#include <sys/cdefs.h>
588 +//__FBSDID("$FreeBSD$");
589
590 /* asinh(x)
591 * Method :
592 * Based on
593 * asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ]
594 * we have
595 * asinh(x) := x if 1+x*x=1,
596 * := sign(x)*(log(x)+ln2)) for large |x|, else
597 diff --git a/s_atan.cpp b/s_atan.cpp
598 --- a/s_atan.cpp
599 +++ b/s_atan.cpp
600 @@ -5,18 +5,18 @@
601 *
602 * Developed at SunPro, a Sun Microsystems, Inc. business.
603 * Permission to use, copy, modify, and distribute this
604 * software is freely granted, provided that this notice
605 * is preserved.
606 * ====================================================
607 */
608
609 -#include <sys/cdefs.h>
610 -__FBSDID("$FreeBSD$");
611 +//#include <sys/cdefs.h>
612 +//__FBSDID("$FreeBSD$");
613
614 /* atan(x)
615 * Method
616 * 1. Reduce x to positive by atan(x) = -atan(-x).
617 * 2. According to the integer k=4t+0.25 chopped, t=x, the argument
618 * is further reduced to one of the following intervals and the
619 * arctangent of t is evaluated by the corresponding formula:
620 *
621 diff --git a/s_cbrt.cpp b/s_cbrt.cpp
622 --- a/s_cbrt.cpp
623 +++ b/s_cbrt.cpp
624 @@ -7,18 +7,18 @@
625 * Permission to use, copy, modify, and distribute this
626 * software is freely granted, provided that this notice
627 * is preserved.
628 * ====================================================
629 *
630 * Optimized by Bruce D. Evans.
631 */
632
633 -#include <sys/cdefs.h>
634 -__FBSDID("$FreeBSD$");
635 +//#include <sys/cdefs.h>
636 +//__FBSDID("$FreeBSD$");
637
638 #include <float.h>
639 #include "math_private.h"
640
641 /* cbrt(x)
642 * Return cube root of x
643 */
644 static const u_int32_t
645 diff --git a/s_ceil.cpp b/s_ceil.cpp
646 --- a/s_ceil.cpp
647 +++ b/s_ceil.cpp
648 @@ -5,18 +5,18 @@
649 *
650 * Developed at SunPro, a Sun Microsystems, Inc. business.
651 * Permission to use, copy, modify, and distribute this
652 * software is freely granted, provided that this notice
653 * is preserved.
654 * ====================================================
655 */
656
657 -#include <sys/cdefs.h>
658 -__FBSDID("$FreeBSD$");
659 +//#include <sys/cdefs.h>
660 +//__FBSDID("$FreeBSD$");
661
662 /*
663 * ceil(x)
664 * Return x rounded toward -inf to integral value
665 * Method:
666 * Bit twiddling.
667 * Exception:
668 * Inexact flag raised if x not equal to ceil(x).
669 diff --git a/s_ceilf.cpp b/s_ceilf.cpp
670 --- a/s_ceilf.cpp
671 +++ b/s_ceilf.cpp
672 @@ -8,18 +8,18 @@
673 *
674 * Developed at SunPro, a Sun Microsystems, Inc. business.
675 * Permission to use, copy, modify, and distribute this
676 * software is freely granted, provided that this notice
677 * is preserved.
678 * ====================================================
679 */
680
681 -#include <sys/cdefs.h>
682 -__FBSDID("$FreeBSD$");
683 +//#include <sys/cdefs.h>
684 +//__FBSDID("$FreeBSD$");
685
686 #include "math_private.h"
687
688 static const float huge = 1.0e30;
689
690 float
691 ceilf(float x)
692 {
693 diff --git a/s_copysign.cpp b/s_copysign.cpp
694 --- a/s_copysign.cpp
695 +++ b/s_copysign.cpp
696 @@ -5,18 +5,18 @@
697 *
698 * Developed at SunPro, a Sun Microsystems, Inc. business.
699 * Permission to use, copy, modify, and distribute this
700 * software is freely granted, provided that this notice
701 * is preserved.
702 * ====================================================
703 */
704
705 -#include <sys/cdefs.h>
706 -__FBSDID("$FreeBSD$");
707 +//#include <sys/cdefs.h>
708 +//__FBSDID("$FreeBSD$");
709
710 /*
711 * copysign(double x, double y)
712 * copysign(x,y) returns a value with the magnitude of x and
713 * with the sign bit of y.
714 */
715
716 #include "math_private.h"
717 diff --git a/s_cos.cpp b/s_cos.cpp
718 --- a/s_cos.cpp
719 +++ b/s_cos.cpp
720 @@ -5,18 +5,18 @@
721 *
722 * Developed at SunPro, a Sun Microsystems, Inc. business.
723 * Permission to use, copy, modify, and distribute this
724 * software is freely granted, provided that this notice
725 * is preserved.
726 * ====================================================
727 */
728
729 -#include <sys/cdefs.h>
730 -__FBSDID("$FreeBSD$");
731 +//#include <sys/cdefs.h>
732 +//__FBSDID("$FreeBSD$");
733
734 /* cos(x)
735 * Return cosine function of x.
736 *
737 * kernel function:
738 * __kernel_sin ... sine function on [-pi/4,pi/4]
739 * __kernel_cos ... cosine function on [-pi/4,pi/4]
740 * __ieee754_rem_pio2 ... argument reduction routine
741 diff --git a/s_expm1.cpp b/s_expm1.cpp
742 --- a/s_expm1.cpp
743 +++ b/s_expm1.cpp
744 @@ -5,18 +5,18 @@
745 *
746 * Developed at SunPro, a Sun Microsystems, Inc. business.
747 * Permission to use, copy, modify, and distribute this
748 * software is freely granted, provided that this notice
749 * is preserved.
750 * ====================================================
751 */
752
753 -#include <sys/cdefs.h>
754 -__FBSDID("$FreeBSD$");
755 +//#include <sys/cdefs.h>
756 +//__FBSDID("$FreeBSD$");
757
758 /* expm1(x)
759 * Returns exp(x)-1, the exponential of x minus 1.
760 *
761 * Method
762 * 1. Argument reduction:
763 * Given x, find r and integer k such that
764 *
765 diff --git a/s_fabs.cpp b/s_fabs.cpp
766 --- a/s_fabs.cpp
767 +++ b/s_fabs.cpp
768 @@ -5,18 +5,18 @@
769 *
770 * Developed at SunPro, a Sun Microsystems, Inc. business.
771 * Permission to use, copy, modify, and distribute this
772 * software is freely granted, provided that this notice
773 * is preserved.
774 * ====================================================
775 */
776
777 -#include <sys/cdefs.h>
778 -__FBSDID("$FreeBSD$");
779 +//#include <sys/cdefs.h>
780 +//__FBSDID("$FreeBSD$");
781
782 /*
783 * fabs(x) returns the absolute value of x.
784 */
785
786 #include "math_private.h"
787
788 double
789 diff --git a/s_floor.cpp b/s_floor.cpp
790 --- a/s_floor.cpp
791 +++ b/s_floor.cpp
792 @@ -5,18 +5,18 @@
793 *
794 * Developed at SunPro, a Sun Microsystems, Inc. business.
795 * Permission to use, copy, modify, and distribute this
796 * software is freely granted, provided that this notice
797 * is preserved.
798 * ====================================================
799 */
800
801 -#include <sys/cdefs.h>
802 -__FBSDID("$FreeBSD$");
803 +//#include <sys/cdefs.h>
804 +//__FBSDID("$FreeBSD$");
805
806 /*
807 * floor(x)
808 * Return x rounded toward -inf to integral value
809 * Method:
810 * Bit twiddling.
811 * Exception:
812 * Inexact flag raised if x not equal to floor(x).
813 diff --git a/s_floorf.cpp b/s_floorf.cpp
814 --- a/s_floorf.cpp
815 +++ b/s_floorf.cpp
816 @@ -8,18 +8,18 @@
817 *
818 * Developed at SunPro, a Sun Microsystems, Inc. business.
819 * Permission to use, copy, modify, and distribute this
820 * software is freely granted, provided that this notice
821 * is preserved.
822 * ====================================================
823 */
824
825 -#include <sys/cdefs.h>
826 -__FBSDID("$FreeBSD$");
827 +//#include <sys/cdefs.h>
828 +//__FBSDID("$FreeBSD$");
829
830 /*
831 * floorf(x)
832 * Return x rounded toward -inf to integral value
833 * Method:
834 * Bit twiddling.
835 * Exception:
836 * Inexact flag raised if x not equal to floorf(x).
837 diff --git a/s_log1p.cpp b/s_log1p.cpp
838 --- a/s_log1p.cpp
839 +++ b/s_log1p.cpp
840 @@ -5,18 +5,18 @@
841 *
842 * Developed at SunPro, a Sun Microsystems, Inc. business.
843 * Permission to use, copy, modify, and distribute this
844 * software is freely granted, provided that this notice
845 * is preserved.
846 * ====================================================
847 */
848
849 -#include <sys/cdefs.h>
850 -__FBSDID("$FreeBSD$");
851 +//#include <sys/cdefs.h>
852 +//__FBSDID("$FreeBSD$");
853
854 /* double log1p(double x)
855 *
856 * Method :
857 * 1. Argument Reduction: find k and f such that
858 * 1+x = 2^k * (1+f),
859 * where sqrt(2)/2 < 1+f < sqrt(2) .
860 *
861 diff --git a/s_nearbyint.cpp b/s_nearbyint.cpp
862 --- a/s_nearbyint.cpp
863 +++ b/s_nearbyint.cpp
864 @@ -21,18 +21,18 @@
865 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
866 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
867 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
868 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
869 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
870 * SUCH DAMAGE.
871 */
872
873 -#include <sys/cdefs.h>
874 -__FBSDID("$FreeBSD$");
875 +//#include <sys/cdefs.h>
876 +//__FBSDID("$FreeBSD$");
877
878 #include <fenv.h>
879
880 #include "math_private.h"
881
882 /*
883 * We save and restore the floating-point environment to avoid raising
884 * an inexact exception. We can get away with using fesetenv()
885 diff --git a/s_rint.cpp b/s_rint.cpp
886 --- a/s_rint.cpp
887 +++ b/s_rint.cpp
888 @@ -5,18 +5,18 @@
889 *
890 * Developed at SunPro, a Sun Microsystems, Inc. business.
891 * Permission to use, copy, modify, and distribute this
892 * software is freely granted, provided that this notice
893 * is preserved.
894 * ====================================================
895 */
896
897 -#include <sys/cdefs.h>
898 -__FBSDID("$FreeBSD$");
899 +//#include <sys/cdefs.h>
900 +//__FBSDID("$FreeBSD$");
901
902 /*
903 * rint(x)
904 * Return x rounded to integral value according to the prevailing
905 * rounding mode.
906 * Method:
907 * Using floating addition.
908 * Exception:
909 diff --git a/s_rintf.cpp b/s_rintf.cpp
910 --- a/s_rintf.cpp
911 +++ b/s_rintf.cpp
912 @@ -8,18 +8,18 @@
913 *
914 * Developed at SunPro, a Sun Microsystems, Inc. business.
915 * Permission to use, copy, modify, and distribute this
916 * software is freely granted, provided that this notice
917 * is preserved.
918 * ====================================================
919 */
920
921 -#include <sys/cdefs.h>
922 -__FBSDID("$FreeBSD$");
923 +//#include <sys/cdefs.h>
924 +//__FBSDID("$FreeBSD$");
925
926 #include <float.h>
927 #include <stdint.h>
928
929 #include "math_private.h"
930
931 static const float
932 TWO23[2]={
933 diff --git a/s_sin.cpp b/s_sin.cpp
934 --- a/s_sin.cpp
935 +++ b/s_sin.cpp
936 @@ -5,18 +5,18 @@
937 *
938 * Developed at SunPro, a Sun Microsystems, Inc. business.
939 * Permission to use, copy, modify, and distribute this
940 * software is freely granted, provided that this notice
941 * is preserved.
942 * ====================================================
943 */
944
945 -#include <sys/cdefs.h>
946 -__FBSDID("$FreeBSD$");
947 +//#include <sys/cdefs.h>
948 +//__FBSDID("$FreeBSD$");
949
950 /* sin(x)
951 * Return sine function of x.
952 *
953 * kernel function:
954 * __kernel_sin ... sine function on [-pi/4,pi/4]
955 * __kernel_cos ... cose function on [-pi/4,pi/4]
956 * __ieee754_rem_pio2 ... argument reduction routine
957 diff --git a/s_tan.cpp b/s_tan.cpp
958 --- a/s_tan.cpp
959 +++ b/s_tan.cpp
960 @@ -5,18 +5,18 @@
961 *
962 * Developed at SunPro, a Sun Microsystems, Inc. business.
963 * Permission to use, copy, modify, and distribute this
964 * software is freely granted, provided that this notice
965 * is preserved.
966 * ====================================================
967 */
968
969 -#include <sys/cdefs.h>
970 -__FBSDID("$FreeBSD$");
971 +//#include <sys/cdefs.h>
972 +//__FBSDID("$FreeBSD$");
973
974 /* tan(x)
975 * Return tangent function of x.
976 *
977 * kernel function:
978 * __kernel_tan ... tangent function on [-pi/4,pi/4]
979 * __ieee754_rem_pio2 ... argument reduction routine
980 *
981 diff --git a/s_tanh.cpp b/s_tanh.cpp
982 --- a/s_tanh.cpp
983 +++ b/s_tanh.cpp
984 @@ -5,18 +5,18 @@
985 *
986 * Developed at SunPro, a Sun Microsystems, Inc. business.
987 * Permission to use, copy, modify, and distribute this
988 * software is freely granted, provided that this notice
989 * is preserved.
990 * ====================================================
991 */
992
993 -#include <sys/cdefs.h>
994 -__FBSDID("$FreeBSD$");
995 +//#include <sys/cdefs.h>
996 +//__FBSDID("$FreeBSD$");
997
998 /* Tanh(x)
999 * Return the Hyperbolic Tangent of x
1000 *
1001 * Method :
1002 * x -x
1003 * e - e
1004 * 0. tanh(x) is defined to be -----------
1005 diff --git a/s_trunc.cpp b/s_trunc.cpp
1006 --- a/s_trunc.cpp
1007 +++ b/s_trunc.cpp
1008 @@ -5,18 +5,18 @@
1009 *
1010 * Developed at SunPro, a Sun Microsystems, Inc. business.
1011 * Permission to use, copy, modify, and distribute this
1012 * software is freely granted, provided that this notice
1013 * is preserved.
1014 * ====================================================
1015 */
1016
1017 -#include <sys/cdefs.h>
1018 -__FBSDID("$FreeBSD$");
1019 +//#include <sys/cdefs.h>
1020 +//__FBSDID("$FreeBSD$");
1021
1022 /*
1023 * trunc(x)
1024 * Return x rounded toward 0 to integral value
1025 * Method:
1026 * Bit twiddling.
1027 * Exception:
1028 * Inexact flag raised if x not equal to trunc(x).
1029 diff --git a/s_truncf.cpp b/s_truncf.cpp
1030 --- a/s_truncf.cpp
1031 +++ b/s_truncf.cpp
1032 @@ -5,18 +5,18 @@
1033 *
1034 * Developed at SunPro, a Sun Microsystems, Inc. business.
1035 * Permission to use, copy, modify, and distribute this
1036 * software is freely granted, provided that this notice
1037 * is preserved.
1038 * ====================================================
1039 */
1040
1041 -#include <sys/cdefs.h>
1042 -__FBSDID("$FreeBSD$");
1043 +//#include <sys/cdefs.h>
1044 +//__FBSDID("$FreeBSD$");
1045
1046 /*
1047 * truncf(x)
1048 * Return x rounded toward 0 to integral value
1049 * Method:
1050 * Bit twiddling.
1051 * Exception:
1052 * Inexact flag raised if x not equal to truncf(x).
1053 --- a/e_acosf.cpp 2022-12-11 21:20:40.290068458 -0500
1054 +++ b/e_acosf.cpp_new 2022-12-11 21:23:31.863880382 -0500
1055 @@ -9,16 +9,16 @@
1056 * Developed at SunPro, a Sun Microsystems, Inc. business.
1057 * Permission to use, copy, modify, and distribute this
1058 * software is freely granted, provided that this notice
1059 * is preserved.
1060 * ====================================================
1061 */
1062
1063 -#include <sys/cdefs.h>
1064 -__FBSDID("$FreeBSD$");
1065 +//#include <sys/cdefs.h>
1066 +//__FBSDID("$FreeBSD$");
1067
1068 #include "math_private.h"
1069
1070 static const float
1071 one = 1.0000000000e+00, /* 0x3F800000 */
1072 pi = 3.1415925026e+00, /* 0x40490fda */
1073 pio2_hi = 1.5707962513e+00; /* 0x3fc90fda */
1074 --- a/e_asinf.cpp 2022-12-11 21:20:40.290068458 -0500
1075 +++ b/e_asinf.cpp_new 2022-12-11 21:23:31.875880502 -0500
1076 @@ -9,16 +9,16 @@
1077 * Developed at SunPro, a Sun Microsystems, Inc. business.
1078 * Permission to use, copy, modify, and distribute this
1079 * software is freely granted, provided that this notice
1080 * is preserved.
1081 * ====================================================
1082 */
1083
1084 -#include <sys/cdefs.h>
1085 -__FBSDID("$FreeBSD$");
1086 +//#include <sys/cdefs.h>
1087 +//__FBSDID("$FreeBSD$");
1088
1089 #include "math_private.h"
1090
1091 static const float
1092 one = 1.0000000000e+00, /* 0x3F800000 */
1093 huge = 1.000e+30,
1094 /* coefficient for R(x^2) */
1095 --- a/e_expf.cpp 2022-12-11 21:20:40.290068458 -0500
1096 +++ b/e_expf.cpp_new 2022-12-11 21:23:31.895880703 -0500
1097 @@ -9,16 +9,16 @@
1098 * Developed at SunPro, a Sun Microsystems, Inc. business.
1099 * Permission to use, copy, modify, and distribute this
1100 * software is freely granted, provided that this notice
1101 * is preserved.
1102 * ====================================================
1103 */
1104
1105 -#include <sys/cdefs.h>
1106 -__FBSDID("$FreeBSD$");
1107 +//#include <sys/cdefs.h>
1108 +//__FBSDID("$FreeBSD$");
1109
1110 #include <float.h>
1111
1112 #include "math_private.h"
1113
1114 static const float
1115 one = 1.0,
1116 --- a/e_logf.cpp 2022-12-11 21:20:40.290068458 -0500
1117 +++ b/e_logf.cpp_new 2022-12-11 21:23:31.935881104 -0500
1118 @@ -9,16 +9,16 @@
1119 * Developed at SunPro, a Sun Microsystems, Inc. business.
1120 * Permission to use, copy, modify, and distribute this
1121 * software is freely granted, provided that this notice
1122 * is preserved.
1123 * ====================================================
1124 */
1125
1126 -#include <sys/cdefs.h>
1127 -__FBSDID("$FreeBSD$");
1128 +//#include <sys/cdefs.h>
1129 +//__FBSDID("$FreeBSD$");
1130
1131 #include "math_private.h"
1132
1133 static const float
1134 ln2_hi = 6.9313812256e-01, /* 0x3f317180 */
1135 ln2_lo = 9.0580006145e-06, /* 0x3717f7d1 */
1136 two25 = 3.355443200e+07, /* 0x4c000000 */
1137 --- a/e_powf.cpp 2022-12-11 21:20:40.290068458 -0500
1138 +++ b/e_powf.cpp_new 2022-12-11 21:23:31.971881465 -0500
1139 @@ -9,16 +9,16 @@
1140 * Developed at SunPro, a Sun Microsystems, Inc. business.
1141 * Permission to use, copy, modify, and distribute this
1142 * software is freely granted, provided that this notice
1143 * is preserved.
1144 * ====================================================
1145 */
1146
1147 -#include <sys/cdefs.h>
1148 -__FBSDID("$FreeBSD$");
1149 +//#include <sys/cdefs.h>
1150 +//__FBSDID("$FreeBSD$");
1151
1152 #include "math_private.h"
1153
1154 static const float
1155 bp[] = {1.0, 1.5,},
1156 dp_h[] = { 0.0, 5.84960938e-01,}, /* 0x3f15c000 */
1157 dp_l[] = { 0.0, 1.56322085e-06,}, /* 0x35d1cfdc */
1158 --- a/e_rem_pio2f.cpp 2022-12-11 21:20:40.290068458 -0500
1159 +++ b/e_rem_pio2f.cpp_new 2022-12-11 21:23:32.015881905 -0500
1160 @@ -10,16 +10,16 @@
1161 * Developed at SunPro, a Sun Microsystems, Inc. business.
1162 * Permission to use, copy, modify, and distribute this
1163 * software is freely granted, provided that this notice
1164 * is preserved.
1165 * ====================================================
1166 */
1167
1168 -#include <sys/cdefs.h>
1169 -__FBSDID("$FreeBSD$");
1170 +//#include <sys/cdefs.h>
1171 +//__FBSDID("$FreeBSD$");
1172
1173 /* __ieee754_rem_pio2f(x,y)
1174 *
1175 * return the remainder of x rem pi/2 in *y
1176 * use double precision for everything except passing x
1177 * use __kernel_rem_pio2() for large x
1178 */
1179 --- b/k_cosf.cpp 2022-12-11 21:20:40.290068458 -0500
1180 +++ b/k_cosf.cpp_new 2022-12-11 21:23:32.051882266 -0500
1181 @@ -11,16 +11,16 @@
1182 * Permission to use, copy, modify, and distribute this
1183 * software is freely granted, provided that this notice
1184 * is preserved.
1185 * ====================================================
1186 */
1187
1188 #ifndef INLINE_KERNEL_COSDF
1189 -#include <sys/cdefs.h>
1190 -__FBSDID("$FreeBSD$");
1191 +//#include <sys/cdefs.h>
1192 +//__FBSDID("$FreeBSD$");
1193 #endif
1194
1195 #include "math_private.h"
1196
1197 /* |cos(x) - c(x)| < 2**-34.1 (~[-5.37e-11, 5.295e-11]). */
1198 static const double
1199 one = 1.0,
1200 --- b/k_expf.cpp 2022-12-11 21:20:40.290068458 -0500
1201 +++ b/k_expf.cpp_new 2022-12-11 21:23:32.087882627 -0500
1202 @@ -22,16 +22,16 @@
1203 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1204 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1205 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1206 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1207 * SUCH DAMAGE.
1208 */
1209
1210 -#include <sys/cdefs.h>
1211 -__FBSDID("$FreeBSD$");
1212 +//#include <sys/cdefs.h>
1213 +//__FBSDID("$FreeBSD$");
1214
1215 #include <complex.h>
1216
1217 #include "math_private.h"
1218
1219 static const uint32_t k = 235; /* constant for reduction */
1220 static const float kln2 = 162.88958740F; /* k * ln2 */
1221 --- b/k_sinf.cpp 2022-12-11 21:20:40.290068458 -0500
1222 +++ b/k_sinf.cpp_new 2022-12-11 21:23:32.119882948 -0500
1223 @@ -11,16 +11,16 @@
1224 * Permission to use, copy, modify, and distribute this
1225 * software is freely granted, provided that this notice
1226 * is preserved.
1227 * ====================================================
1228 */
1229
1230 #ifndef INLINE_KERNEL_SINDF
1231 -#include <sys/cdefs.h>
1232 -__FBSDID("$FreeBSD$");
1233 +//#include <sys/cdefs.h>
1234 +//__FBSDID("$FreeBSD$");
1235 #endif
1236
1237 #include "math_private.h"
1238
1239 /* |sin(x)/x - s(x)| < 2**-37.5 (~[-4.89e-12, 4.824e-12]). */
1240 static const double
1241 S1 = -0x15555554cbac77.0p-55, /* -0.166666666416265235595 */
1242 --- b/k_tanf.cpp 2022-12-11 21:20:40.290068458 -0500
1243 +++ b/k_tanf.cpp_new 2022-12-11 21:23:32.155883308 -0500
1244 @@ -10,16 +10,16 @@
1245 * Permission to use, copy, modify, and distribute this
1246 * software is freely granted, provided that this notice
1247 * is preserved.
1248 * ====================================================
1249 */
1250
1251 #ifndef INLINE_KERNEL_TANDF
1252 -#include <sys/cdefs.h>
1253 -__FBSDID("$FreeBSD$");
1254 +//#include <sys/cdefs.h>
1255 +//__FBSDID("$FreeBSD$");
1256 #endif
1257
1258 #include "math_private.h"
1259
1260 /* |tan(x)/x - t(x)| < 2**-25.5 (~[-2e-08, 2e-08]). */
1261 static const double
1262 T[] = {
1263 --- a/s_atanf.cpp 2022-12-11 21:20:40.290068458 -0500
1264 +++ b/s_atanf.cpp_new 2022-12-11 21:23:32.199883749 -0500
1265 @@ -9,16 +9,16 @@
1266 * Developed at SunPro, a Sun Microsystems, Inc. business.
1267 * Permission to use, copy, modify, and distribute this
1268 * software is freely granted, provided that this notice
1269 * is preserved.
1270 * ====================================================
1271 */
1272
1273 -#include <sys/cdefs.h>
1274 -__FBSDID("$FreeBSD$");
1275 +//#include <sys/cdefs.h>
1276 +//__FBSDID("$FreeBSD$");
1277
1278 #include "math_private.h"
1279
1280 static const float atanhi[] = {
1281 4.6364760399e-01, /* atan(0.5)hi 0x3eed6338 */
1282 7.8539812565e-01, /* atan(1.0)hi 0x3f490fda */
1283 9.8279368877e-01, /* atan(1.5)hi 0x3f7b985e */
1284 --- a/s_cosf.cpp 2022-12-11 21:20:40.290068458 -0500
1285 +++ b/s_cosf.cpp_new 2022-12-11 21:23:32.235884110 -0500
1286 @@ -10,16 +10,16 @@
1287 * Developed at SunPro, a Sun Microsystems, Inc. business.
1288 * Permission to use, copy, modify, and distribute this
1289 * software is freely granted, provided that this notice
1290 * is preserved.
1291 * ====================================================
1292 */
1293
1294 -#include <sys/cdefs.h>
1295 -__FBSDID("$FreeBSD$");
1296 +//#include <sys/cdefs.h>
1297 +//__FBSDID("$FreeBSD$");
1298
1299 #include <float.h>
1300
1301 #define INLINE_KERNEL_COSDF
1302 #define INLINE_KERNEL_SINDF
1303 #define INLINE_REM_PIO2F
1304 #include "math_private.h"
1305 --- a/s_exp2.cpp 2022-12-11 21:20:40.290068458 -0500
1306 +++ b/s_exp2.cpp_new 2022-12-11 21:23:32.275884511 -0500
1307 @@ -22,16 +22,16 @@
1308 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1309 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1310 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1311 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1312 * SUCH DAMAGE.
1313 */
1314
1315 -#include <sys/cdefs.h>
1316 -__FBSDID("$FreeBSD$");
1317 +//#include <sys/cdefs.h>
1318 +//__FBSDID("$FreeBSD$");
1319
1320 #include <float.h>
1321
1322 #include "math_private.h"
1323
1324 #define TBLBITS 8
1325 #define TBLSIZE (1 << TBLBITS)
1326 --- a/s_exp2f.cpp 2022-12-11 21:20:40.290068458 -0500
1327 +++ b/s_exp2f.cpp_new 2022-12-11 21:23:32.311884872 -0500
1328 @@ -22,16 +22,16 @@
1329 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1330 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1331 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1332 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1333 * SUCH DAMAGE.
1334 */
1335
1336 -#include <sys/cdefs.h>
1337 -__FBSDID("$FreeBSD$");
1338 +//#include <sys/cdefs.h>
1339 +//__FBSDID("$FreeBSD$");
1340
1341 #include <float.h>
1342
1343 #include "math_private.h"
1344
1345 #define TBLBITS 4
1346 #define TBLSIZE (1 << TBLBITS)
1347 --- a/s_fabsf.cpp 2022-12-11 21:20:40.290068458 -0500
1348 +++ b/s_fabsf.cpp_new 2022-12-11 21:23:32.347885233 -0500
1349 @@ -9,16 +9,16 @@
1350 * Developed at SunPro, a Sun Microsystems, Inc. business.
1351 * Permission to use, copy, modify, and distribute this
1352 * software is freely granted, provided that this notice
1353 * is preserved.
1354 * ====================================================
1355 */
1356
1357 -#include <sys/cdefs.h>
1358 -__FBSDID("$FreeBSD$");
1359 +//#include <sys/cdefs.h>
1360 +//__FBSDID("$FreeBSD$");
1361
1362 /*
1363 * fabsf(x) returns the absolute value of x.
1364 */
1365
1366 #include "math_private.h"
1367
1368 --- a/s_sinf.cpp 2022-12-11 21:20:40.290068458 -0500
1369 +++ b/s_sinf.cpp_new 2022-12-11 21:23:32.383885594 -0500
1370 @@ -10,16 +10,16 @@
1371 * Developed at SunPro, a Sun Microsystems, Inc. business.
1372 * Permission to use, copy, modify, and distribute this
1373 * software is freely granted, provided that this notice
1374 * is preserved.
1375 * ====================================================
1376 */
1377
1378 -#include <sys/cdefs.h>
1379 -__FBSDID("$FreeBSD$");
1380 +//#include <sys/cdefs.h>
1381 +//__FBSDID("$FreeBSD$");
1382
1383 #include <float.h>
1384
1385 #define INLINE_KERNEL_COSDF
1386 #define INLINE_KERNEL_SINDF
1387 #define INLINE_REM_PIO2F
1388 #include "math_private.h"
1389 --- a/s_tanf.cpp 2022-12-11 21:20:40.290068458 -0500
1390 +++ b/s_tanf.cpp_new 2022-12-11 21:23:32.419885954 -0500
1391 @@ -10,16 +10,16 @@
1392 * Developed at SunPro, a Sun Microsystems, Inc. business.
1393 * Permission to use, copy, modify, and distribute this
1394 * software is freely granted, provided that this notice
1395 * is preserved.
1396 * ====================================================
1397 */
1398
1399 -#include <sys/cdefs.h>
1400 -__FBSDID("$FreeBSD$");
1401 +//#include <sys/cdefs.h>
1402 +//__FBSDID("$FreeBSD$");
1403
1404 #include <float.h>
1405
1406 #define INLINE_KERNEL_TANDF
1407 #define INLINE_REM_PIO2F
1408 #include "math_private.h"
1409 #include "e_rem_pio2f.c"
1410 --- a/e_sqrtf.cpp 2022-12-13 14:30:13.113415455 -0500
1411 +++ b/e_sqrtf.cpp 2022-12-13 14:13:15.302434550 -0500
1412 @@ -8,19 +8,19 @@
1413 *
1414 * Developed at SunPro, a Sun Microsystems, Inc. business.
1415 * Permission to use, copy, modify, and distribute this
1416 * software is freely granted, provided that this notice
1417 * is preserved.
1418 * ====================================================
1419 */
1420
1421 -#ifndef lint
1422 -static char rcsid[] = "$FreeBSD$";
1423 -#endif
1424 +//#ifndef lint
1425 +//static char rcsid[] = "$FreeBSD$";
1426 +//#endif
1427
1428 #include "math_private.h"
1429
1430 #ifdef USE_BUILTIN_SQRTF
1431 float
1432 __ieee754_sqrtf(float x)
1433 {
1434 return (__builtin_sqrtf(x));