1## OpenLibm 2 3OpenLibm contains code that is covered by various licenses. 4 5The OpenLibm code derives from the FreeBSD msun and OpenBSD libm 6implementations, which in turn derives from FDLIBM 5.3. As a result, it 7has a number of fixes and updates that have accumulated over the years 8in msun, and also optimized assembly versions of many functions. These 9improvements are provided under the BSD and ISC licenses. The msun 10library also includes work placed under the public domain, which is 11noted in the individual files. Further work on making a standalone 12OpenLibm library from msun, as part of the Julia project is covered 13under the MIT license. The test files, test-double.c and test-float.c 14are under the LGPL. 15 16## Parts copyrighted by the Julia project (MIT License) 17 18> Copyright (c) 2011-14 The Julia Project. 19> https://github.com/JuliaLang/openlibm/graphs/contributors 20> 21> Permission is hereby granted, free of charge, to any person obtaining 22> a copy of this software and associated documentation files (the 23> "Software"), to deal in the Software without restriction, including 24> without limitation the rights to use, copy, modify, merge, publish, 25> distribute, sublicense, and/or sell copies of the Software, and to 26> permit persons to whom the Software is furnished to do so, subject to 27> the following conditions: 28> 29> The above copyright notice and this permission notice shall be 30> included in all copies or substantial portions of the Software. 31> 32> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 34> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 36> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 37> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 38> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 39 40## Parts copyrighted by Stephen L. Moshier (ISC License) 41 42> Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> 43> 44> Permission to use, copy, modify, and distribute this software for any 45> purpose with or without fee is hereby granted, provided that the above 46> copyright notice and this permission notice appear in all copies. 47> 48> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 49> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 50> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 51> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 52> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 53> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 54> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 55 56## FREEBSD MSUN (FreeBSD/2-clause BSD/Simplified BSD License) 57 58> Copyright 1992-2011 The FreeBSD Project. All rights reserved. 59> 60> Redistribution and use in source and binary forms, with or without 61> modification, are permitted provided that the following conditions are 62> met: 63> 64> 1. Redistributions of source code must retain the above copyright 65> notice, this list of conditions and the following disclaimer. 66> 67> 2. Redistributions in binary form must reproduce the above copyright 68> notice, this list of conditions and the following disclaimer in the 69> documentation and/or other materials provided with the distribution. 70> THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY 71> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 72> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 73> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR 74> CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 75> EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 76> PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 77> PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 78> LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 79> NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 80> SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 81> 82> The views and conclusions contained in the software and documentation 83> are those of the authors and should not be interpreted as representing 84> official policies, either expressed or implied, of the FreeBSD 85> Project. 86 87## FDLIBM 88 89> Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 90> 91> Developed at SunPro, a Sun Microsystems, Inc. business. 92> Permission to use, copy, modify, and distribute this 93> software is freely granted, provided that this notice 94> is preserved. 95 96## Tests 97 98> Copyright (C) 1997, 1999 Free Software Foundation, Inc. 99> This file is part of the GNU C Library. 100> Contributed by Andreas Jaeger <aj@suse.de>, 1997. 101> 102> The GNU C Library is free software; you can redistribute it and/or 103> modify it under the terms of the GNU Lesser General Public 104> License as published by the Free Software Foundation; either 105> version 2.1 of the License, or (at your option) any later version. 106> 107> The GNU C Library is distributed in the hope that it will be useful, 108> but WITHOUT ANY WARRANTY; without even the implied warranty of 109> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 110> Lesser General Public License for more details. 111> 112> You should have received a copy of the GNU Lesser General Public 113> License along with the GNU C Library; if not, write to the Free 114> Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 115> 02111-1307 USA. 116