xref: /relibc/openlibm/LICENSE.md (revision a076418c8b47e51ff9cb58b2816bfd2b04bdcf7d)
1## OpenLIBM
2
3OpenLIBM contains code that is covered by various licenses.
4
5The OpenLIBM code derives from the FreeBSD msun implementation, which
6in turn derives from FDLIBM 5.3. As a result, it has a number of fixes
7and updates that have accumulated over the years in msun, and also
8optimized assembly versions of many functions. These improvements are
9provided under the BSD license. The msun library also includes work
10placed under the public domain, whih is noted in the individual
11files. Further work on making a standalone OpenLIBM library from msun,
12as part of the Julia project is covered under the MIT license.
13
14## Parts copyrighted by the Julia project
15
16>       Copyright (c) 2011-13 Viral B. Shah, Keno Fischer, Jameson Nash,
17>       https://github.com/JuliaLang/openlibm/graphs/contributors
18>
19>       Permission is hereby granted, free of charge, to any person obtaining
20>       a copy of this software and associated documentation files (the
21>       "Software"), to deal in the Software without restriction, including
22>       without limitation the rights to use, copy, modify, merge, publish,
23>       distribute, sublicense, and/or sell copies of the Software, and to
24>       permit persons to whom the Software is furnished to do so, subject to
25>       the following conditions:
26>
27>       The above copyright notice and this permission notice shall be
28>       included in all copies or substantial portions of the Software.
29>
30>       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31>       EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
32>       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
33>       NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
34>       LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
35>       OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
36>       WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37
38## FREEBSD MSUN
39
40>       Copyright 1992-2011 The FreeBSD Project. All rights reserved.
41>
42>       Redistribution and use in source and binary forms, with or without
43>       modification, are permitted provided that the following conditions are
44>       met:
45>
46>       1. Redistributions of source code must retain the above copyright
47>       notice, this list of conditions and the following disclaimer.
48>
49>       2. Redistributions in binary form must reproduce the above copyright
50>       notice, this list of conditions and the following disclaimer in the
51>       documentation and/or other materials provided with the distribution.
52>       THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY
53>       EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
54>       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
55>       PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR
56>       CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
57>       EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
58>       PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
59>       PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
60>       LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
61>       NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
62>       SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
63>
64>       The views and conclusions contained in the software and documentation
65>       are those of the authors and should not be interpreted as representing
66>       official policies, either expressed or implied, of the FreeBSD
67>       Project.
68
69## FDLIBM
70
71>      Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
72>
73>      Developed at SunPro, a Sun Microsystems, Inc. business.
74>      Permission to use, copy, modify, and distribute this
75>      software is freely granted, provided that this notice
76>      is preserved.
77