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 SunSoft, 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-------------------------------------------------------------------
33
34====================================================
35Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
36
37Developed at SunSoft, a Sun Microsystems, Inc. business.
38Permission to use, copy, modify, and distribute this
39software is freely granted, provided that this notice
40is preserved.
41====================================================
42
43Optimized by Bruce D. Evans.
44
45-------------------------------------------------------------------
46
47====================================================
48Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
49Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
50
51Developed at SunSoft, a Sun Microsystems, Inc. business.
52Permission to use, copy, modify, and distribute this
53software is freely granted, provided that this notice
54is preserved.
55
56-------------------------------------------------------------------
57
58====================================================
59Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
60Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
61
62Developed at SunSoft, a Sun Microsystems, Inc. business.
63Permission to use, copy, modify, and distribute this
64software is freely granted, provided that this notice
65is preserved.
66====================================================
67
68Optimized by Bruce D. Evans.
69
70-------------------------------------------------------------------
71
72====================================================
73Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
74Copyright (c) 2009-2011, Bruce D. Evans, Steven G. Kargl, David Schultz.
75
76Developed at SunPro, a Sun Microsystems, Inc. business.
77Permission to use, copy, modify, and distribute this
78software is freely granted, provided that this notice
79is preserved.
80====================================================
81
82The argument reduction and testing for exceptional cases was
83written by Steven G. Kargl with input from Bruce D. Evans
84and David A. Schultz.
85
86-------------------------------------------------------------------
87
88====================================================
89Copyright (C) 2004 by Sun Microsystems, Inc. All rights reserved.
90
91Permission to use, copy, modify, and distribute this
92software is freely granted, provided that this notice
93is preserved.
94
95-------------------------------------------------------------------
96
97====================================================
98Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
99
100Permission to use, copy, modify, and distribute this
101software is freely granted, provided that this notice
102is preserved.
103
104-------------------------------------------------------------------
105
106====================================================
107Copyright 2004 Sun Microsystems, Inc.  All Rights Reserved.
108Copyright (c) 2008 Steven G. Kargl, David Schultz, Bruce D. Evans.
109
110Permission to use, copy, modify, and distribute this
111software is freely granted, provided that this notice
112is preserved.
113
114-------------------------------------------------------------------
115
116Copyright (C) 2010 The Android Open Source Project
117All rights reserved.
118
119Redistribution and use in source and binary forms, with or without
120modification, are permitted provided that the following conditions
121are met:
1221. Redistributions of source code must retain the above copyright
123   notice, this list of conditions and the following disclaimer.
1242. Redistributions in binary form must reproduce the above copyright
125   notice, this list of conditions and the following disclaimer in the
126   documentation and/or other materials provided with the distribution.
127
128THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
129ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
130IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
131ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
132FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
133DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
134OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
135HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
136LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
137OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
138SUCH DAMAGE.
139
140-------------------------------------------------------------------
141
142Copyright (C) 2013 The Android Open Source Project
143
144Licensed under the Apache License, Version 2.0 (the "License");
145you may not use this file except in compliance with the License.
146You may obtain a copy of the License at
147
148     http://www.apache.org/licenses/LICENSE-2.0
149
150Unless required by applicable law or agreed to in writing, software
151distributed under the License is distributed on an "AS IS" BASIS,
152WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
153See the License for the specific language governing permissions and
154limitations under the License.
155
156-------------------------------------------------------------------
157
158Copyright (C) 2014 The Android Open Source Project
159All rights reserved.
160
161Redistribution and use in source and binary forms, with or without
162modification, are permitted provided that the following conditions
163are met:
1641. Redistributions of source code must retain the above copyright
165   notice, this list of conditions and the following disclaimer.
1662. Redistributions in binary form must reproduce the above copyright
167   notice, this list of conditions and the following disclaimer in the
168   documentation and/or other materials provided with the distribution.
169
170THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
171ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
172IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
173ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
174FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
175DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
176OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
177HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
178LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
179OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
180SUCH DAMAGE.
181
182-------------------------------------------------------------------
183
184Copyright (C) 2015 The Android Open Source Project
185
186Licensed under the Apache License, Version 2.0 (the "License");
187you may not use this file except in compliance with the License.
188You may obtain a copy of the License at
189
190     http://www.apache.org/licenses/LICENSE-2.0
191
192Unless required by applicable law or agreed to in writing, software
193distributed under the License is distributed on an "AS IS" BASIS,
194WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
195See the License for the specific language governing permissions and
196limitations under the License.
197
198-------------------------------------------------------------------
199
200Copyright (c) 1985, 1993
201   The Regents of the University of California.  All rights reserved.
202
203Redistribution and use in source and binary forms, with or without
204modification, are permitted provided that the following conditions
205are met:
2061. Redistributions of source code must retain the above copyright
207   notice, this list of conditions and the following disclaimer.
2082. Redistributions in binary form must reproduce the above copyright
209   notice, this list of conditions and the following disclaimer in the
210   documentation and/or other materials provided with the distribution.
2113. All advertising materials mentioning features or use of this software
212   must display the following acknowledgement:
213   This product includes software developed by the University of
214   California, Berkeley and its contributors.
2154. Neither the name of the University nor the names of its contributors
216   may be used to endorse or promote products derived from this software
217   without specific prior written permission.
218
219THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
220ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
221IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
222ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
223FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
224DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
225OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
226HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
227LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
228OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
229SUCH DAMAGE.
230
231-------------------------------------------------------------------
232
233Copyright (c) 1988, 1993
234   The Regents of the University of California.  All rights reserved.
235
236Redistribution and use in source and binary forms, with or without
237modification, are permitted provided that the following conditions
238are met:
2391. Redistributions of source code must retain the above copyright
240   notice, this list of conditions and the following disclaimer.
2412. Redistributions in binary form must reproduce the above copyright
242   notice, this list of conditions and the following disclaimer in the
243   documentation and/or other materials provided with the distribution.
2443. All advertising materials mentioning features or use of this software
245   must display the following acknowledgement:
246   This product includes software developed by the University of
247   California, Berkeley and its contributors.
2484. Neither the name of the University nor the names of its contributors
249   may be used to endorse or promote products derived from this software
250   without specific prior written permission.
251
252THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
253ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
254IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
255ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
256FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
257DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
258OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
259HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
260LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
261OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
262SUCH DAMAGE.
263
264-------------------------------------------------------------------
265
266Copyright (c) 1990 The Regents of the University of California.
267All rights reserved.
268
269This code is derived from software contributed to Berkeley by
270William Jolitz.
271
272Redistribution and use in source and binary forms, with or without
273modification, are permitted provided that the following conditions
274are met:
2751. Redistributions of source code must retain the above copyright
276   notice, this list of conditions and the following disclaimer.
2772. Redistributions in binary form must reproduce the above copyright
278   notice, this list of conditions and the following disclaimer in the
279   documentation and/or other materials provided with the distribution.
2804. Neither the name of the University nor the names of its contributors
281   may be used to endorse or promote products derived from this software
282   without specific prior written permission.
283
284THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
285ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
286IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
287ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
288FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
289DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
290OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
291HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
292LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
293OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
294SUCH DAMAGE.
295
296-------------------------------------------------------------------
297
298Copyright (c) 1992, 1993
299   The Regents of the University of California.  All rights reserved.
300
301Redistribution and use in source and binary forms, with or without
302modification, are permitted provided that the following conditions
303are met:
3041. Redistributions of source code must retain the above copyright
305   notice, this list of conditions and the following disclaimer.
3062. Redistributions in binary form must reproduce the above copyright
307   notice, this list of conditions and the following disclaimer in the
308   documentation and/or other materials provided with the distribution.
3093. All advertising materials mentioning features or use of this software
310   must display the following acknowledgement:
311   This product includes software developed by the University of
312   California, Berkeley and its contributors.
3134. Neither the name of the University nor the names of its contributors
314   may be used to endorse or promote products derived from this software
315   without specific prior written permission.
316
317THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
318ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
319IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
320ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
321FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
322DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
323OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
324HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
325LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
326OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
327SUCH DAMAGE.
328
329-------------------------------------------------------------------
330
331Copyright (c) 2001-2011 The FreeBSD Project.
332All rights reserved.
333
334Redistribution and use in source and binary forms, with or without
335modification, are permitted provided that the following conditions
336are met:
3371. Redistributions of source code must retain the above copyright
338   notice, this list of conditions and the following disclaimer.
3392. Redistributions in binary form must reproduce the above copyright
340   notice, this list of conditions and the following disclaimer in the
341   documentation and/or other materials provided with the distribution.
342
343THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
344ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
345IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
346ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
347FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
348DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
349OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
350HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
351LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
352OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
353SUCH DAMAGE.
354
355-------------------------------------------------------------------
356
357Copyright (c) 2003 Dag-Erling Smørgrav
358All rights reserved.
359
360Redistribution and use in source and binary forms, with or without
361modification, are permitted provided that the following conditions
362are met:
3631. Redistributions of source code must retain the above copyright
364   notice, this list of conditions and the following disclaimer
365   in this position and unchanged.
3662. Redistributions in binary form must reproduce the above copyright
367   notice, this list of conditions and the following disclaimer in the
368   documentation and/or other materials provided with the distribution.
3693. The name of the author may not be used to endorse or promote products
370   derived from this software without specific prior written permission.
371
372THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
373IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
374OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
375IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
376INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
377NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
378DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
379THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
380(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
381THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
382
383-------------------------------------------------------------------
384
385Copyright (c) 2003 Mike Barcroft <mike@FreeBSD.org>
386All rights reserved.
387
388Redistribution and use in source and binary forms, with or without
389modification, are permitted provided that the following conditions
390are met:
3911. Redistributions of source code must retain the above copyright
392   notice, this list of conditions and the following disclaimer.
3932. Redistributions in binary form must reproduce the above copyright
394   notice, this list of conditions and the following disclaimer in the
395   documentation and/or other materials provided with the distribution.
396
397THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
398ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
399IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
400ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
401FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
402DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
403OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
404HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
405LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
406OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
407SUCH DAMAGE.
408
409-------------------------------------------------------------------
410
411Copyright (c) 2003 Mike Barcroft <mike@FreeBSD.org>
412Copyright (c) 2002 David Schultz <das@FreeBSD.ORG>
413All rights reserved.
414
415Redistribution and use in source and binary forms, with or without
416modification, are permitted provided that the following conditions
417are met:
4181. Redistributions of source code must retain the above copyright
419   notice, this list of conditions and the following disclaimer.
4202. Redistributions in binary form must reproduce the above copyright
421   notice, this list of conditions and the following disclaimer in the
422   documentation and/or other materials provided with the distribution.
423
424THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
425ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
426IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
427ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
428FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
429DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
430OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
431HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
432LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
433OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
434SUCH DAMAGE.
435
436-------------------------------------------------------------------
437
438Copyright (c) 2003, Steven G. Kargl
439All rights reserved.
440
441Redistribution and use in source and binary forms, with or without
442modification, are permitted provided that the following conditions
443are met:
4441. Redistributions of source code must retain the above copyright
445   notice unmodified, this list of conditions, and the following
446   disclaimer.
4472. Redistributions in binary form must reproduce the above copyright
448   notice, this list of conditions and the following disclaimer in the
449   documentation and/or other materials provided with the distribution.
450
451THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
452IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
453OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
454IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
455INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
456NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
457DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
458THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
459(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
460THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
461
462-------------------------------------------------------------------
463
464Copyright (c) 2004 David Schultz <das@FreeBSD.ORG>
465All rights reserved.
466
467Redistribution and use in source and binary forms, with or without
468modification, are permitted provided that the following conditions
469are met:
4701. Redistributions of source code must retain the above copyright
471   notice, this list of conditions and the following disclaimer.
4722. Redistributions in binary form must reproduce the above copyright
473   notice, this list of conditions and the following disclaimer in the
474   documentation and/or other materials provided with the distribution.
475
476THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
477ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
478IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
479ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
480FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
481DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
482OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
483HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
484LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
485OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
486SUCH DAMAGE.
487
488-------------------------------------------------------------------
489
490Copyright (c) 2004 Stefan Farfeleder
491All rights reserved.
492
493Redistribution and use in source and binary forms, with or without
494modification, are permitted provided that the following conditions
495are met:
4961. Redistributions of source code must retain the above copyright
497   notice, this list of conditions and the following disclaimer.
4982. Redistributions in binary form must reproduce the above copyright
499   notice, this list of conditions and the following disclaimer in the
500   documentation and/or other materials provided with the distribution.
501
502THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
503ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
504IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
505ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
506FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
507DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
508OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
509HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
510LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
511OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
512SUCH DAMAGE.
513
514-------------------------------------------------------------------
515
516Copyright (c) 2004-2005 David Schultz <das (at) FreeBSD.ORG>
517All rights reserved.
518
519Redistribution and use in source and binary forms, with or without
520modification, are permitted provided that the following conditions
521are met:
5221. Redistributions of source code must retain the above copyright
523   notice, this list of conditions and the following disclaimer.
5242. Redistributions in binary form must reproduce the above copyright
525   notice, this list of conditions and the following disclaimer in the
526   documentation and/or other materials provided with the distribution.
527
528THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
529ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
530IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
531ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
532FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
533DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
534OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
535HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
536LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
537OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
538SUCH DAMAGE.
539
540-------------------------------------------------------------------
541
542Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
543All rights reserved.
544
545Redistribution and use in source and binary forms, with or without
546modification, are permitted provided that the following conditions
547are met:
5481. Redistributions of source code must retain the above copyright
549   notice, this list of conditions and the following disclaimer.
5502. Redistributions in binary form must reproduce the above copyright
551   notice, this list of conditions and the following disclaimer in the
552   documentation and/or other materials provided with the distribution.
553
554THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
555ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
556IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
557ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
558FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
559DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
560OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
561HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
562LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
563OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
564SUCH DAMAGE.
565
566-------------------------------------------------------------------
567
568Copyright (c) 2005 Bruce D. Evans and Steven G. Kargl
569All rights reserved.
570
571Redistribution and use in source and binary forms, with or without
572modification, are permitted provided that the following conditions
573are met:
5741. Redistributions of source code must retain the above copyright
575   notice unmodified, this list of conditions, and the following
576   disclaimer.
5772. Redistributions in binary form must reproduce the above copyright
578   notice, this list of conditions and the following disclaimer in the
579   documentation and/or other materials provided with the distribution.
580
581THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
582IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
583OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
584IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
585INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
586NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
587DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
588THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
589(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
590THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
591
592-------------------------------------------------------------------
593
594Copyright (c) 2005 David Schultz <das@FreeBSD.ORG>
595All rights reserved.
596
597Redistribution and use in source and binary forms, with or without
598modification, are permitted provided that the following conditions
599are met:
6001. Redistributions of source code must retain the above copyright
601   notice, this list of conditions and the following disclaimer.
6022. Redistributions in binary form must reproduce the above copyright
603   notice, this list of conditions and the following disclaimer in the
604   documentation and/or other materials provided with the distribution.
605
606THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
607ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
608IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
609ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
610FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
611DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
612OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
613HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
614LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
615OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
616SUCH DAMAGE.
617
618-------------------------------------------------------------------
619
620Copyright (c) 2005-2008 David Schultz <das@FreeBSD.ORG>
621All rights reserved.
622
623Redistribution and use in source and binary forms, with or without
624modification, are permitted provided that the following conditions
625are met:
6261. Redistributions of source code must retain the above copyright
627   notice, this list of conditions and the following disclaimer.
6282. Redistributions in binary form must reproduce the above copyright
629   notice, this list of conditions and the following disclaimer in the
630   documentation and/or other materials provided with the distribution.
631
632THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
633ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
634IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
635ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
636FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
637DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
638OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
639HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
640LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
641OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
642SUCH DAMAGE.
643
644-------------------------------------------------------------------
645
646Copyright (c) 2005-2011 David Schultz <das@FreeBSD.ORG>
647All rights reserved.
648
649Redistribution and use in source and binary forms, with or without
650modification, are permitted provided that the following conditions
651are met:
6521. Redistributions of source code must retain the above copyright
653   notice, this list of conditions and the following disclaimer.
6542. Redistributions in binary form must reproduce the above copyright
655   notice, this list of conditions and the following disclaimer in the
656   documentation and/or other materials provided with the distribution.
657
658THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
659ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
660IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
661ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
662FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
663DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
664OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
665HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
666LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
667OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
668SUCH DAMAGE.
669
670-------------------------------------------------------------------
671
672Copyright (c) 2007 David Schultz
673All rights reserved.
674
675Redistribution and use in source and binary forms, with or without
676modification, are permitted provided that the following conditions
677are met:
6781. Redistributions of source code must retain the above copyright
679   notice, this list of conditions and the following disclaimer.
6802. Redistributions in binary form must reproduce the above copyright
681   notice, this list of conditions and the following disclaimer in the
682   documentation and/or other materials provided with the distribution.
683
684THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS ``AS IS'' AND
685ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
686IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
687ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
688FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
689DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
690OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
691HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
692LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
693OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
694SUCH DAMAGE.
695
696-------------------------------------------------------------------
697
698Copyright (c) 2007 David Schultz <das@FreeBSD.ORG>
699All rights reserved.
700
701Redistribution and use in source and binary forms, with or without
702modification, are permitted provided that the following conditions
703are met:
7041. Redistributions of source code must retain the above copyright
705   notice, this list of conditions and the following disclaimer.
7062. Redistributions in binary form must reproduce the above copyright
707   notice, this list of conditions and the following disclaimer in the
708   documentation and/or other materials provided with the distribution.
709
710THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
711ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
712IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
713ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
714FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
715DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
716OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
717HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
718LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
719OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
720SUCH DAMAGE.
721
722-------------------------------------------------------------------
723
724Copyright (c) 2007 David Schultz <das@FreeBSD.ORG>
725All rights reserved.
726
727Redistribution and use in source and binary forms, with or without
728modification, are permitted provided that the following conditions
729are met:
7301. Redistributions of source code must retain the above copyright
731   notice, this list of conditions and the following disclaimer.
7322. Redistributions in binary form must reproduce the above copyright
733   notice, this list of conditions and the following disclaimer in the
734   documentation and/or other materials provided with the distribution.
735
736THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
737ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
738IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
739ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
740FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
741DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
742OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
743HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
744LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
745OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
746SUCH DAMAGE.
747
748Derived from s_modf.c, which has the following Copyright:
749====================================================
750Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
751
752Developed at SunPro, a Sun Microsystems, Inc. business.
753Permission to use, copy, modify, and distribute this
754software is freely granted, provided that this notice
755is preserved.
756
757-------------------------------------------------------------------
758
759Copyright (c) 2007 Steven G. Kargl
760All rights reserved.
761
762Redistribution and use in source and binary forms, with or without
763modification, are permitted provided that the following conditions
764are met:
7651. Redistributions of source code must retain the above copyright
766   notice unmodified, this list of conditions, and the following
767   disclaimer.
7682. Redistributions in binary form must reproduce the above copyright
769   notice, this list of conditions and the following disclaimer in the
770   documentation and/or other materials provided with the distribution.
771
772THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
773IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
774OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
775IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
776INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
777NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
778DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
779THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
780(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
781THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
782
783-------------------------------------------------------------------
784
785Copyright (c) 2007-2008 David Schultz <das@FreeBSD.ORG>
786All rights reserved.
787
788Redistribution and use in source and binary forms, with or without
789modification, are permitted provided that the following conditions
790are met:
7911. Redistributions of source code must retain the above copyright
792   notice, this list of conditions and the following disclaimer.
7932. Redistributions in binary form must reproduce the above copyright
794   notice, this list of conditions and the following disclaimer in the
795   documentation and/or other materials provided with the distribution.
796
797THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
798ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
799IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
800ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
801FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
802DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
803OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
804HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
805LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
806OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
807SUCH DAMAGE.
808
809-------------------------------------------------------------------
810
811Copyright (c) 2007-2013 Bruce D. Evans
812All rights reserved.
813
814Redistribution and use in source and binary forms, with or without
815modification, are permitted provided that the following conditions
816are met:
8171. Redistributions of source code must retain the above copyright
818   notice unmodified, this list of conditions, and the following
819   disclaimer.
8202. Redistributions in binary form must reproduce the above copyright
821   notice, this list of conditions and the following disclaimer in the
822   documentation and/or other materials provided with the distribution.
823
824THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
825IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
826OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
827IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
828INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
829NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
830DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
831THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
832(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
833THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
834
835-------------------------------------------------------------------
836
837Copyright (c) 2008 David Schultz <das@FreeBSD.ORG>
838All rights reserved.
839
840Redistribution and use in source and binary forms, with or without
841modification, are permitted provided that the following conditions
842are met:
8431. Redistributions of source code must retain the above copyright
844   notice, this list of conditions and the following disclaimer.
8452. Redistributions in binary form must reproduce the above copyright
846   notice, this list of conditions and the following disclaimer in the
847   documentation and/or other materials provided with the distribution.
848
849THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
850ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
851IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
852ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
853FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
854DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
855OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
856HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
857LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
858OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
859SUCH DAMAGE.
860
861-------------------------------------------------------------------
862
863Copyright (c) 2009-2013 Steven G. Kargl
864All rights reserved.
865
866Redistribution and use in source and binary forms, with or without
867modification, are permitted provided that the following conditions
868are met:
8691. Redistributions of source code must retain the above copyright
870   notice unmodified, this list of conditions, and the following
871   disclaimer.
8722. Redistributions in binary form must reproduce the above copyright
873   notice, this list of conditions and the following disclaimer in the
874   documentation and/or other materials provided with the distribution.
875
876THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
877IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
878OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
879IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
880INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
881NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
882DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
883THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
884(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
885THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
886
887Optimized by Bruce D. Evans.
888
889-------------------------------------------------------------------
890
891Copyright (c) 2010 The NetBSD Foundation, Inc.
892All rights reserved.
893
894Redistribution and use in source and binary forms, with or without
895modification, are permitted provided that the following conditions
896are met:
8971. Redistributions of source code must retain the above copyright
898   notice, this list of conditions and the following disclaimer.
8992. Redistributions in binary form must reproduce the above copyright
900   notice, this list of conditions and the following disclaimer in the
901   documentation and/or other materials provided with the distribution.
902
903THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
904``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
905TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
906PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
907BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
908CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
909SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
910INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
911CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
912ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
913POSSIBILITY OF SUCH DAMAGE.
914
915-------------------------------------------------------------------
916
917Copyright (c) 2011 David Schultz
918All rights reserved.
919
920Redistribution and use in source and binary forms, with or without
921modification, are permitted provided that the following conditions
922are met:
9231. Redistributions of source code must retain the above copyright
924   notice unmodified, this list of conditions, and the following
925   disclaimer.
9262. Redistributions in binary form must reproduce the above copyright
927   notice, this list of conditions and the following disclaimer in the
928   documentation and/or other materials provided with the distribution.
929
930THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
931IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
932OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
933IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
934INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
935NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
936DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
937THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
938(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
939THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
940
941-------------------------------------------------------------------
942
943Copyright (c) 2011 David Schultz <das@FreeBSD.ORG>
944All rights reserved.
945
946Redistribution and use in source and binary forms, with or without
947modification, are permitted provided that the following conditions
948are met:
9491. Redistributions of source code must retain the above copyright
950   notice, this list of conditions and the following disclaimer.
9512. Redistributions in binary form must reproduce the above copyright
952   notice, this list of conditions and the following disclaimer in the
953   documentation and/or other materials provided with the distribution.
954
955THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
956ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
957IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
958ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
959FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
960DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
961OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
962HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
963LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
964OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
965SUCH DAMAGE.
966
967-------------------------------------------------------------------
968
969Copyright (c) 2012 Stephen Montgomery-Smith <stephen@FreeBSD.ORG>
970All rights reserved.
971
972Redistribution and use in source and binary forms, with or without
973modification, are permitted provided that the following conditions
974are met:
9751. Redistributions of source code must retain the above copyright
976   notice, this list of conditions and the following disclaimer.
9772. Redistributions in binary form must reproduce the above copyright
978   notice, this list of conditions and the following disclaimer in the
979   documentation and/or other materials provided with the distribution.
980
981THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
982ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
983IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
984ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
985FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
986DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
987OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
988HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
989LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
990OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
991SUCH DAMAGE.
992
993-------------------------------------------------------------------
994
995Copyright (c) 2013 David Chisnall
996All rights reserved.
997
998Redistribution and use in source and binary forms, with or without
999modification, are permitted provided that the following conditions
1000are met:
10011. Redistributions of source code must retain the above copyright
1002   notice, this list of conditions and the following disclaimer.
10032. Redistributions in binary form must reproduce the above copyright
1004   notice, this list of conditions and the following disclaimer in the
1005   documentation and/or other materials provided with the distribution.
1006
1007THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
1008ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1009IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
1010ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
1011FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1012DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
1013OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
1014HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
1015LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
1016OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
1017SUCH DAMAGE.
1018
1019-------------------------------------------------------------------
1020
1021Copyright (c) 2013-2014, NVIDIA Corporation.  All rights reserved.
1022Johnny Qiu <joqiu@nvidia.com>
1023Shu Zhang <chazhang@nvidia.com>
1024
1025Redistribution and use in source and binary forms, with or without
1026modification, are permitted provided that the following conditions are
1027met:
1028    * Redistributions of source code must retain the above copyright
1029      notice, this list of conditions and the following disclaimer.
1030    * Redistributions in binary form must reproduce the above
1031      copyright notice, this list of conditions and the following
1032      disclaimer in the documentation and/or other materials provided
1033      with the distribution.
1034    * Neither the name of The Linux Foundation nor the names of its
1035      contributors may be used to endorse or promote products derived
1036      from this software without specific prior written permission.
1037
1038THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
1039WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
1040MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
1041ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
1042BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1043CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1044SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
1045BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
1046WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
1047OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
1048IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1049
1050-------------------------------------------------------------------
1051
1052Copyright (c) 2014, Intel Corporation
1053All rights reserved.
1054
1055Redistribution and use in source and binary forms, with or without
1056modification, are permitted provided that the following conditions are met:
1057
1058    * Redistributions of source code must retain the above copyright notice,
1059    * this list of conditions and the following disclaimer.
1060
1061    * Redistributions in binary form must reproduce the above copyright notice,
1062    * this list of conditions and the following disclaimer in the documentation
1063    * and/or other materials provided with the distribution.
1064
1065    * Neither the name of Intel Corporation nor the names of its contributors
1066    * may be used to endorse or promote products derived from this software
1067    * without specific prior written permission.
1068
1069THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1070ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
1071WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1072DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
1073ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
1074(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
1075LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
1076ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1077(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
1078SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1079
1080-------------------------------------------------------------------
1081
1082Copyright 2015, The Android Open Source Project
1083
1084Licensed under the Apache License, Version 2.0 (the "License");
1085you may not use this file except in compliance with the License.
1086You may obtain a copy of the License at
1087
1088    http://www.apache.org/licenses/LICENSE-2.0
1089
1090Unless required by applicable law or agreed to in writing, software
1091distributed under the License is distributed on an "AS IS" BASIS,
1092WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1093See the License for the specific language governing permissions and
1094limitations under the License.
1095
1096-------------------------------------------------------------------
1097
1098From: @(#)s_ilogb.c 5.1 93/09/24
1099====================================================
1100Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
1101
1102Developed at SunPro, a Sun Microsystems, Inc. business.
1103Permission to use, copy, modify, and distribute this
1104software is freely granted, provided that this notice
1105is preserved.
1106
1107-------------------------------------------------------------------
1108
1109