1====================================================
2Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
3
4Developed at SunPro, a Sun Microsystems, Inc. business.
5Permission to use, copy, modify, and distribute this
6software is freely granted, provided that this notice
7is preserved.
8
9-------------------------------------------------------------------
10
11====================================================
12Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
13
14Developed at SunPro, a Sun Microsystems, Inc. business.
15Permission to use, copy, modify, and distribute this
16software is freely granted, provided that this notice
17is preserved.
18====================================================
19
20Optimized by Bruce D. Evans.
21
22-------------------------------------------------------------------
23
24====================================================
25Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
26
27Developed at SunPro, a Sun Microsystems, Inc. business.
28Permission to use, copy, modify, and distribute this
29software is freely granted, provided that this notice
30is preserved.
31====================================================
32
33k_sinf.c and k_cosf.c merged by Steven G. Kargl.
34
35-------------------------------------------------------------------
36
37====================================================
38Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
39
40Developed at SunPro, a Sun Microsystems, Inc. business.
41Permission to use, copy, modify, and distribute this
42software is freely granted, provided that this notice
43is preserved.
44====================================================
45
46s_sin.c and s_cos.c merged by Steven G. Kargl.  Descriptions of the
47algorithms are contained in the original files.
48
49-------------------------------------------------------------------
50
51====================================================
52Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
53
54Developed at SunSoft, a Sun Microsystems, Inc. business.
55Permission to use, copy, modify, and distribute this
56software is freely granted, provided that this notice
57is preserved.
58
59-------------------------------------------------------------------
60
61====================================================
62Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
63
64Developed at SunSoft, a Sun Microsystems, Inc. business.
65Permission to use, copy, modify, and distribute this
66software is freely granted, provided that this notice
67is preserved.
68====================================================
69
70Optimized by Bruce D. Evans.
71
72-------------------------------------------------------------------
73
74====================================================
75Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
76
77Developed at SunSoft, a Sun Microsystems, Inc. business.
78Permission to use, copy, modify, and distribute this
79software is freely granted, provided that this notice
80is preserved.
81====================================================
82
83k_sin.c and k_cos.c merged by Steven G. Kargl.
84
85-------------------------------------------------------------------
86
87====================================================
88Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
89Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
90
91Developed at SunSoft, a Sun Microsystems, Inc. business.
92Permission to use, copy, modify, and distribute this
93software is freely granted, provided that this notice
94is preserved.
95
96-------------------------------------------------------------------
97
98====================================================
99Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
100Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
101
102Developed at SunSoft, a Sun Microsystems, Inc. business.
103Permission to use, copy, modify, and distribute this
104software is freely granted, provided that this notice
105is preserved.
106====================================================
107
108Optimized by Bruce D. Evans.
109
110-------------------------------------------------------------------
111
112====================================================
113Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
114Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
115
116Developed at SunSoft, a Sun Microsystems, Inc. business.
117Permission to use, copy, modify, and distribute this
118software is freely granted, provided that this notice
119is preserved.
120====================================================
121
122k_sinl.c and k_cosl.c merged by Steven G. Kargl
123
124-------------------------------------------------------------------
125
126====================================================
127Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
128Copyright (c) 2009-2011, Bruce D. Evans, Steven G. Kargl, David Schultz.
129
130Developed at SunPro, a Sun Microsystems, Inc. business.
131Permission to use, copy, modify, and distribute this
132software is freely granted, provided that this notice
133is preserved.
134====================================================
135
136The argument reduction and testing for exceptional cases was
137written by Steven G. Kargl with input from Bruce D. Evans
138and David A. Schultz.
139
140-------------------------------------------------------------------
141
142====================================================
143Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
144
145Permission to use, copy, modify, and distribute this
146software is freely granted, provided that this notice
147is preserved.
148
149-------------------------------------------------------------------
150
151====================================================
152Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
153
154Permission to use, copy, modify, and distribute this
155software is freely granted, provided that this notice
156is preserved.
157
158-------------------------------------------------------------------
159
160====================================================
161Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
162Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
163
164Permission to use, copy, modify, and distribute this
165software is freely granted, provided that this notice
166is preserved.
167
168-------------------------------------------------------------------
169
170Copyright (C) 2013 The Android Open Source Project
171
172Licensed under the Apache License, Version 2.0 (the "License");
173you may not use this file except in compliance with the License.
174You may obtain a copy of the License at
175
176     http://www.apache.org/licenses/LICENSE-2.0
177
178Unless required by applicable law or agreed to in writing, software
179distributed under the License is distributed on an "AS IS" BASIS,
180WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
181See the License for the specific language governing permissions and
182limitations under the License.
183
184-------------------------------------------------------------------
185
186Copyright (C) 2014 The Android Open Source Project
187All rights reserved.
188
189Redistribution and use in source and binary forms, with or without
190modification, are permitted provided that the following conditions
191are met:
1921. Redistributions of source code must retain the above copyright
193   notice, this list of conditions and the following disclaimer.
1942. Redistributions in binary form must reproduce the above copyright
195   notice, this list of conditions and the following disclaimer in the
196   documentation and/or other materials provided with the distribution.
197
198THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
199ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
200IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
201ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
202FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
203DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
204OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
205HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
206LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
207OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
208SUCH DAMAGE.
209
210-------------------------------------------------------------------
211
212Copyright (C) 2015 The Android Open Source Project
213
214Licensed under the Apache License, Version 2.0 (the "License");
215you may not use this file except in compliance with the License.
216You may obtain a copy of the License at
217
218     http://www.apache.org/licenses/LICENSE-2.0
219
220Unless required by applicable law or agreed to in writing, software
221distributed under the License is distributed on an "AS IS" BASIS,
222WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
223See the License for the specific language governing permissions and
224limitations under the License.
225
226-------------------------------------------------------------------
227
228Copyright (C) 2017 The Android Open Source Project
229All rights reserved.
230
231Redistribution and use in source and binary forms, with or without
232modification, are permitted provided that the following conditions
233are met:
234 * Redistributions of source code must retain the above copyright
235   notice, this list of conditions and the following disclaimer.
236 * Redistributions in binary form must reproduce the above copyright
237   notice, this list of conditions and the following disclaimer in
238   the documentation and/or other materials provided with the
239   distribution.
240
241THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
242"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
243LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
244FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
245COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
246INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
247BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
248OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
249AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
250OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
251OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
252SUCH DAMAGE.
253
254-------------------------------------------------------------------
255
256Copyright (C) 2018 The Android Open Source Project
257All rights reserved.
258
259Redistribution and use in source and binary forms, with or without
260modification, are permitted provided that the following conditions
261are met:
262 * Redistributions of source code must retain the above copyright
263   notice, this list of conditions and the following disclaimer.
264 * Redistributions in binary form must reproduce the above copyright
265   notice, this list of conditions and the following disclaimer in
266   the documentation and/or other materials provided with the
267   distribution.
268
269THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
270"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
271LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
272FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
273COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
274INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
275BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
276OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
277AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
278OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
279OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
280SUCH DAMAGE.
281
282-------------------------------------------------------------------
283
284Copyright (c) 1985, 1993
285   The Regents of the University of California.  All rights reserved.
286
287Redistribution and use in source and binary forms, with or without
288modification, are permitted provided that the following conditions
289are met:
2901. Redistributions of source code must retain the above copyright
291   notice, this list of conditions and the following disclaimer.
2922. Redistributions in binary form must reproduce the above copyright
293   notice, this list of conditions and the following disclaimer in the
294   documentation and/or other materials provided with the distribution.
2953. Neither the name of the University nor the names of its contributors
296   may be used to endorse or promote products derived from this software
297   without specific prior written permission.
298
299THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
300ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
301IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
302ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
303FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
304DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
305OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
306HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
307LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
308OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
309SUCH DAMAGE.
310
311-------------------------------------------------------------------
312
313Copyright (c) 1988, 1993
314   The Regents of the University of California.  All rights reserved.
315
316Redistribution and use in source and binary forms, with or without
317modification, are permitted provided that the following conditions
318are met:
3191. Redistributions of source code must retain the above copyright
320   notice, this list of conditions and the following disclaimer.
3212. Redistributions in binary form must reproduce the above copyright
322   notice, this list of conditions and the following disclaimer in the
323   documentation and/or other materials provided with the distribution.
3243. All advertising materials mentioning features or use of this software
325   must display the following acknowledgement:
326   This product includes software developed by the University of
327   California, Berkeley and its contributors.
3284. Neither the name of the University nor the names of its contributors
329   may be used to endorse or promote products derived from this software
330   without specific prior written permission.
331
332THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
333ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
334IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
335ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
336FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
337DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
338OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
339HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
340LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
341OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
342SUCH DAMAGE.
343
344-------------------------------------------------------------------
345
346Copyright (c) 1992, 1993
347   The Regents of the University of California.  All rights reserved.
348
349Redistribution and use in source and binary forms, with or without
350modification, are permitted provided that the following conditions
351are met:
3521. Redistributions of source code must retain the above copyright
353   notice, this list of conditions and the following disclaimer.
3542. Redistributions in binary form must reproduce the above copyright
355   notice, this list of conditions and the following disclaimer in the
356   documentation and/or other materials provided with the distribution.
3573. Neither the name of the University nor the names of its contributors
358   may be used to endorse or promote products derived from this software
359   without specific prior written permission.
360
361THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
362ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
363IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
364ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
365FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
366DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
367OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
368HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
369LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
370OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
371SUCH DAMAGE.
372
373-------------------------------------------------------------------
374
375Copyright (c) 2003 Dag-Erling Smørgrav
376All rights reserved.
377
378Redistribution and use in source and binary forms, with or without
379modification, are permitted provided that the following conditions
380are met:
3811. Redistributions of source code must retain the above copyright
382   notice, this list of conditions and the following disclaimer
383   in this position and unchanged.
3842. Redistributions in binary form must reproduce the above copyright
385   notice, this list of conditions and the following disclaimer in the
386   documentation and/or other materials provided with the distribution.
3873. The name of the author may not be used to endorse or promote products
388   derived from this software without specific prior written permission.
389
390THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
391IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
392OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
393IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
394INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
395NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
396DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
397THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
398(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
399THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
400
401-------------------------------------------------------------------
402
403Copyright (c) 2003 Mike Barcroft <mike@FreeBSD.org>
404Copyright (c) 2002 David Schultz <das@FreeBSD.ORG>
405All rights reserved.
406
407Redistribution and use in source and binary forms, with or without
408modification, are permitted provided that the following conditions
409are met:
4101. Redistributions of source code must retain the above copyright
411   notice, this list of conditions and the following disclaimer.
4122. Redistributions in binary form must reproduce the above copyright
413   notice, this list of conditions and the following disclaimer in the
414   documentation and/or other materials provided with the distribution.
415
416THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
417ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
418IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
419ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
420FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
421DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
422OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
423HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
424LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
425OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
426SUCH DAMAGE.
427
428-------------------------------------------------------------------
429
430Copyright (c) 2003, Steven G. Kargl
431All rights reserved.
432
433Redistribution and use in source and binary forms, with or without
434modification, are permitted provided that the following conditions
435are met:
4361. Redistributions of source code must retain the above copyright
437   notice unmodified, this list of conditions, and the following
438   disclaimer.
4392. Redistributions in binary form must reproduce the above copyright
440   notice, this list of conditions and the following disclaimer in the
441   documentation and/or other materials provided with the distribution.
442
443THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
444IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
445OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
446IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
447INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
448NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
449DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
450THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
451(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
452THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
453
454-------------------------------------------------------------------
455
456Copyright (c) 2004 David Schultz <das@FreeBSD.ORG>
457All rights reserved.
458
459Redistribution and use in source and binary forms, with or without
460modification, are permitted provided that the following conditions
461are met:
4621. Redistributions of source code must retain the above copyright
463   notice, this list of conditions and the following disclaimer.
4642. Redistributions in binary form must reproduce the above copyright
465   notice, this list of conditions and the following disclaimer in the
466   documentation and/or other materials provided with the distribution.
467
468THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
469ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
470IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
471ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
472FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
473DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
474OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
475HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
476LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
477OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
478SUCH DAMAGE.
479
480-------------------------------------------------------------------
481
482Copyright (c) 2004 Stefan Farfeleder
483All rights reserved.
484
485Redistribution and use in source and binary forms, with or without
486modification, are permitted provided that the following conditions
487are met:
4881. Redistributions of source code must retain the above copyright
489   notice, this list of conditions and the following disclaimer.
4902. Redistributions in binary form must reproduce the above copyright
491   notice, this list of conditions and the following disclaimer in the
492   documentation and/or other materials provided with the distribution.
493
494THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
495ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
496IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
497ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
498FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
499DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
500OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
501HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
502LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
503OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
504SUCH DAMAGE.
505
506-------------------------------------------------------------------
507
508Copyright (c) 2004-2005 David Schultz <das (at) FreeBSD.ORG>
509All rights reserved.
510
511Redistribution and use in source and binary forms, with or without
512modification, are permitted provided that the following conditions
513are met:
5141. Redistributions of source code must retain the above copyright
515   notice, this list of conditions and the following disclaimer.
5162. Redistributions in binary form must reproduce the above copyright
517   notice, this list of conditions and the following disclaimer in the
518   documentation and/or other materials provided with the distribution.
519
520THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
521ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
522IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
523ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
524FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
525DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
526OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
527HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
528LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
529OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
530SUCH DAMAGE.
531
532-------------------------------------------------------------------
533
534Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
535All rights reserved.
536
537Redistribution and use in source and binary forms, with or without
538modification, are permitted provided that the following conditions
539are met:
5401. Redistributions of source code must retain the above copyright
541   notice, this list of conditions and the following disclaimer.
5422. Redistributions in binary form must reproduce the above copyright
543   notice, this list of conditions and the following disclaimer in the
544   documentation and/or other materials provided with the distribution.
545
546THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
547ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
548IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
549ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
550FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
551DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
552OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
553HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
554LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
555OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
556SUCH DAMAGE.
557
558-------------------------------------------------------------------
559
560Copyright (c) 2005 Bruce D. Evans and Steven G. Kargl
561All rights reserved.
562
563Redistribution and use in source and binary forms, with or without
564modification, are permitted provided that the following conditions
565are met:
5661. Redistributions of source code must retain the above copyright
567   notice unmodified, this list of conditions, and the following
568   disclaimer.
5692. Redistributions in binary form must reproduce the above copyright
570   notice, this list of conditions and the following disclaimer in the
571   documentation and/or other materials provided with the distribution.
572
573THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
574IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
575OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
576IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
577INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
578NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
579DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
580THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
581(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
582THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
583
584-------------------------------------------------------------------
585
586Copyright (c) 2005 David Schultz <das@FreeBSD.ORG>
587All rights reserved.
588
589Redistribution and use in source and binary forms, with or without
590modification, are permitted provided that the following conditions
591are met:
5921. Redistributions of source code must retain the above copyright
593   notice, this list of conditions and the following disclaimer.
5942. Redistributions in binary form must reproduce the above copyright
595   notice, this list of conditions and the following disclaimer in the
596   documentation and/or other materials provided with the distribution.
597
598THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
599ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
600IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
601ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
602FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
603DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
604OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
605HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
606LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
607OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
608SUCH DAMAGE.
609
610-------------------------------------------------------------------
611
612Copyright (c) 2005-2008 David Schultz <das@FreeBSD.ORG>
613All rights reserved.
614
615Redistribution and use in source and binary forms, with or without
616modification, are permitted provided that the following conditions
617are met:
6181. Redistributions of source code must retain the above copyright
619   notice, this list of conditions and the following disclaimer.
6202. Redistributions in binary form must reproduce the above copyright
621   notice, this list of conditions and the following disclaimer in the
622   documentation and/or other materials provided with the distribution.
623
624THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
625ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
626IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
627ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
628FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
629DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
630OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
631HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
632LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
633OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
634SUCH DAMAGE.
635
636-------------------------------------------------------------------
637
638Copyright (c) 2005-2011 David Schultz <das@FreeBSD.ORG>
639All rights reserved.
640
641Redistribution and use in source and binary forms, with or without
642modification, are permitted provided that the following conditions
643are met:
6441. Redistributions of source code must retain the above copyright
645   notice, this list of conditions and the following disclaimer.
6462. Redistributions in binary form must reproduce the above copyright
647   notice, this list of conditions and the following disclaimer in the
648   documentation and/or other materials provided with the distribution.
649
650THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
651ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
652IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
653ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
654FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
655DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
656OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
657HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
658LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
659OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
660SUCH DAMAGE.
661
662-------------------------------------------------------------------
663
664Copyright (c) 2007 David Schultz
665All rights reserved.
666
667Redistribution and use in source and binary forms, with or without
668modification, are permitted provided that the following conditions
669are met:
6701. Redistributions of source code must retain the above copyright
671   notice, this list of conditions and the following disclaimer.
6722. Redistributions in binary form must reproduce the above copyright
673   notice, this list of conditions and the following disclaimer in the
674   documentation and/or other materials provided with the distribution.
675
676THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
677ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
678IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
679ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
680FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
681DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
682OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
683HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
684LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
685OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
686SUCH DAMAGE.
687
688-------------------------------------------------------------------
689
690Copyright (c) 2007 David Schultz <das@FreeBSD.ORG>
691All rights reserved.
692
693Redistribution and use in source and binary forms, with or without
694modification, are permitted provided that the following conditions
695are met:
6961. Redistributions of source code must retain the above copyright
697   notice, this list of conditions and the following disclaimer.
6982. Redistributions in binary form must reproduce the above copyright
699   notice, this list of conditions and the following disclaimer in the
700   documentation and/or other materials provided with the distribution.
701
702THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
703ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
704IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
705ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
706FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
707DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
708OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
709HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
710LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
711OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
712SUCH DAMAGE.
713
714-------------------------------------------------------------------
715
716Copyright (c) 2007 David Schultz <das@FreeBSD.ORG>
717All rights reserved.
718
719Redistribution and use in source and binary forms, with or without
720modification, are permitted provided that the following conditions
721are met:
7221. Redistributions of source code must retain the above copyright
723   notice, this list of conditions and the following disclaimer.
7242. Redistributions in binary form must reproduce the above copyright
725   notice, this list of conditions and the following disclaimer in the
726   documentation and/or other materials provided with the distribution.
727
728THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
729ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
730IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
731ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
732FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
733DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
734OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
735HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
736LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
737OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
738SUCH DAMAGE.
739
740Derived from s_modf.c, which has the following Copyright:
741====================================================
742Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
743
744Developed at SunPro, a Sun Microsystems, Inc. business.
745Permission to use, copy, modify, and distribute this
746software is freely granted, provided that this notice
747is preserved.
748
749-------------------------------------------------------------------
750
751Copyright (c) 2007 Steven G. Kargl
752All rights reserved.
753
754Redistribution and use in source and binary forms, with or without
755modification, are permitted provided that the following conditions
756are met:
7571. Redistributions of source code must retain the above copyright
758   notice unmodified, this list of conditions, and the following
759   disclaimer.
7602. Redistributions in binary form must reproduce the above copyright
761   notice, this list of conditions and the following disclaimer in the
762   documentation and/or other materials provided with the distribution.
763
764THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
765IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
766OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
767IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
768INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
769NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
770DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
771THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
772(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
773THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
774
775-------------------------------------------------------------------
776
777Copyright (c) 2007 The NetBSD Foundation, Inc.
778All rights reserved.
779
780This code is derived from software written by Stephen L. Moshier.
781It is redistributed by the NetBSD Foundation by permission of the author.
782
783Redistribution and use in source and binary forms, with or without
784modification, are permitted provided that the following conditions
785are met:
7861. Redistributions of source code must retain the above copyright
787   notice, this list of conditions and the following disclaimer.
7882. Redistributions in binary form must reproduce the above copyright
789   notice, this list of conditions and the following disclaimer in the
790   documentation and/or other materials provided with the distribution.
791
792THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
793``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
794TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
795PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
796BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
797CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
798SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
799INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
800CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
801ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
802POSSIBILITY OF SUCH DAMAGE.
803
804-------------------------------------------------------------------
805
806Copyright (c) 2007, 2010-2013 Steven G. Kargl
807All rights reserved.
808
809Redistribution and use in source and binary forms, with or without
810modification, are permitted provided that the following conditions
811are met:
8121. Redistributions of source code must retain the above copyright
813   notice unmodified, this list of conditions, and the following
814   disclaimer.
8152. Redistributions in binary form must reproduce the above copyright
816   notice, this list of conditions and the following disclaimer in the
817   documentation and/or other materials provided with the distribution.
818
819THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
820IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
821OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
822IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
823INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
824NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
825DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
826THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
827(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
828THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
829
830s_sinl.c and s_cosl.c merged by Steven G. Kargl.
831
832-------------------------------------------------------------------
833
834Copyright (c) 2007-2008 David Schultz <das@FreeBSD.ORG>
835All rights reserved.
836
837Redistribution and use in source and binary forms, with or without
838modification, are permitted provided that the following conditions
839are met:
8401. Redistributions of source code must retain the above copyright
841   notice, this list of conditions and the following disclaimer.
8422. Redistributions in binary form must reproduce the above copyright
843   notice, this list of conditions and the following disclaimer in the
844   documentation and/or other materials provided with the distribution.
845
846THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
847ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
848IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
849ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
850FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
851DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
852OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
853HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
854LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
855OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
856SUCH DAMAGE.
857
858-------------------------------------------------------------------
859
860Copyright (c) 2007-2013 Bruce D. Evans
861All rights reserved.
862
863Redistribution and use in source and binary forms, with or without
864modification, are permitted provided that the following conditions
865are met:
8661. Redistributions of source code must retain the above copyright
867   notice unmodified, this list of conditions, and the following
868   disclaimer.
8692. Redistributions in binary form must reproduce the above copyright
870   notice, this list of conditions and the following disclaimer in the
871   documentation and/or other materials provided with the distribution.
872
873THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
874IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
875OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
876IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
877INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
878NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
879DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
880THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
881(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
882THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
883
884-------------------------------------------------------------------
885
886Copyright (c) 2008 David Schultz <das@FreeBSD.ORG>
887All rights reserved.
888
889Redistribution and use in source and binary forms, with or without
890modification, are permitted provided that the following conditions
891are met:
8921. Redistributions of source code must retain the above copyright
893   notice, this list of conditions and the following disclaimer.
8942. Redistributions in binary form must reproduce the above copyright
895   notice, this list of conditions and the following disclaimer in the
896   documentation and/or other materials provided with the distribution.
897
898THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
899ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
900IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
901ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
902FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
903DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
904OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
905HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
906LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
907OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
908SUCH DAMAGE.
909
910-------------------------------------------------------------------
911
912Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net>
913
914Permission to use, copy, modify, and distribute this software for any
915purpose with or without fee is hereby granted, provided that the above
916copyright notice and this permission notice appear in all copies.
917
918THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
919WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
920MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
921ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
922WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
923ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
924OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
925
926-------------------------------------------------------------------
927
928Copyright (c) 2009-2013 Steven G. Kargl
929All rights reserved.
930
931Redistribution and use in source and binary forms, with or without
932modification, are permitted provided that the following conditions
933are met:
9341. Redistributions of source code must retain the above copyright
935   notice unmodified, this list of conditions, and the following
936   disclaimer.
9372. Redistributions in binary form must reproduce the above copyright
938   notice, this list of conditions and the following disclaimer in the
939   documentation and/or other materials provided with the distribution.
940
941THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
942IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
943OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
944IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
945INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
946NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
947DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
948THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
949(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
950THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
951
952Optimized by Bruce D. Evans.
953
954-------------------------------------------------------------------
955
956Copyright (c) 2011 David Schultz
957All rights reserved.
958
959Redistribution and use in source and binary forms, with or without
960modification, are permitted provided that the following conditions
961are met:
9621. Redistributions of source code must retain the above copyright
963   notice unmodified, this list of conditions, and the following
964   disclaimer.
9652. Redistributions in binary form must reproduce the above copyright
966   notice, this list of conditions and the following disclaimer in the
967   documentation and/or other materials provided with the distribution.
968
969THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
970IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
971OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
972IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
973INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
974NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
975DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
976THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
977(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
978THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
979
980-------------------------------------------------------------------
981
982Copyright (c) 2011 David Schultz <das@FreeBSD.ORG>
983All rights reserved.
984
985Redistribution and use in source and binary forms, with or without
986modification, are permitted provided that the following conditions
987are met:
9881. Redistributions of source code must retain the above copyright
989   notice, this list of conditions and the following disclaimer.
9902. Redistributions in binary form must reproduce the above copyright
991   notice, this list of conditions and the following disclaimer in the
992   documentation and/or other materials provided with the distribution.
993
994THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
995ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
996IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
997ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
998FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
999DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1000OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1001HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1002LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1003OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1004SUCH DAMAGE.
1005
1006-------------------------------------------------------------------
1007
1008Copyright (c) 2012 Stephen Montgomery-Smith <stephen@FreeBSD.ORG>
1009All rights reserved.
1010
1011Redistribution and use in source and binary forms, with or without
1012modification, are permitted provided that the following conditions
1013are met:
10141. Redistributions of source code must retain the above copyright
1015   notice, this list of conditions and the following disclaimer.
10162. Redistributions in binary form must reproduce the above copyright
1017   notice, this list of conditions and the following disclaimer in the
1018   documentation and/or other materials provided with the distribution.
1019
1020THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1021ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1022IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1023ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1024FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1025DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1026OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1027HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1028LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1029OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1030SUCH DAMAGE.
1031
1032-------------------------------------------------------------------
1033
1034Copyright (c) 2012 Stephen Montgomery-Smith <stephen@FreeBSD.ORG>
1035Copyright (c) 2017 Mahdi Mokhtari <mmokhi@FreeBSD.org>
1036All rights reserved.
1037
1038Redistribution and use in source and binary forms, with or without
1039modification, are permitted provided that the following conditions
1040are met:
10411. Redistributions of source code must retain the above copyright
1042   notice, this list of conditions and the following disclaimer.
10432. Redistributions in binary form must reproduce the above copyright
1044   notice, this list of conditions and the following disclaimer in the
1045   documentation and/or other materials provided with the distribution.
1046
1047THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1048ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1049IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1050ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1051FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1052DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1053OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1054HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1055LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1056OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1057SUCH DAMAGE.
1058
1059-------------------------------------------------------------------
1060
1061Copyright (c) 2013 Bruce D. Evans
1062All rights reserved.
1063
1064Redistribution and use in source and binary forms, with or without
1065modification, are permitted provided that the following conditions
1066are met:
10671. Redistributions of source code must retain the above copyright
1068   notice unmodified, this list of conditions, and the following
1069   disclaimer.
10702. Redistributions in binary form must reproduce the above copyright
1071   notice, this list of conditions and the following disclaimer in the
1072   documentation and/or other materials provided with the distribution.
1073
1074THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1075IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1076OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1077IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1078INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1079NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1080DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1081THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1082(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
1083THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1084
1085-------------------------------------------------------------------
1086
1087Copyright (c) 2013-2014, NVIDIA Corporation.  All rights reserved.
1088Johnny Qiu <joqiu@nvidia.com>
1089Shu Zhang <chazhang@nvidia.com>
1090
1091Redistribution and use in source and binary forms, with or without
1092modification, are permitted provided that the following conditions are
1093met:
1094    * Redistributions of source code must retain the above copyright
1095      notice, this list of conditions and the following disclaimer.
1096    * Redistributions in binary form must reproduce the above
1097      copyright notice, this list of conditions and the following
1098      disclaimer in the documentation and/or other materials provided
1099      with the distribution.
1100    * Neither the name of The Linux Foundation nor the names of its
1101      contributors may be used to endorse or promote products derived
1102      from this software without specific prior written permission.
1103
1104THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
1105WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1106MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
1107ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
1108BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1109CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1110SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1111BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1112WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
1113OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
1114IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1115
1116-------------------------------------------------------------------
1117
1118Copyright (c) 2014, Intel Corporation
1119All rights reserved.
1120
1121Redistribution and use in source and binary forms, with or without
1122modification, are permitted provided that the following conditions are met:
1123
1124    * Redistributions of source code must retain the above copyright notice,
1125    * this list of conditions and the following disclaimer.
1126
1127    * Redistributions in binary form must reproduce the above copyright notice,
1128    * this list of conditions and the following disclaimer in the documentation
1129    * and/or other materials provided with the distribution.
1130
1131    * Neither the name of Intel Corporation nor the names of its contributors
1132    * may be used to endorse or promote products derived from this software
1133    * without specific prior written permission.
1134
1135THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1136ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1137WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1138DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
1139ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1140(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1141LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
1142ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1143(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1144SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1145
1146-------------------------------------------------------------------
1147
1148From: @(#)s_ilogb.c 5.1 93/09/24
1149====================================================
1150Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
1151
1152Developed at SunPro, a Sun Microsystems, Inc. business.
1153Permission to use, copy, modify, and distribute this
1154software is freely granted, provided that this notice
1155is preserved.
1156
1157-------------------------------------------------------------------
1158
1159