11367cb05SViral B. Shah## OpenLibm 2ccd319c0SViral B. Shah 31367cb05SViral B. ShahOpenLibm contains code that is covered by various licenses. 4ccd319c0SViral B. Shah 5*e5c38c3eSViral B. ShahThe OpenLibm code derives from the FreeBSD msun and OpenBSD libm 6*e5c38c3eSViral B. Shahimplementations, which in turn derives from FDLIBM 5.3. As a result, it 7*e5c38c3eSViral B. Shahhas a number of fixes and updates that have accumulated over the years 8*e5c38c3eSViral B. Shahin msun, and also optimized assembly versions of many functions. These 9*e5c38c3eSViral B. Shahimprovements are provided under the BSD and ISC licenses. The msun 10*e5c38c3eSViral B. Shahlibrary also includes work placed under the public domain, which is 11*e5c38c3eSViral B. Shahnoted in the individual files. Further work on making a standalone 12*e5c38c3eSViral B. ShahOpenLibm library from msun, as part of the Julia project is covered 13*e5c38c3eSViral B. Shahunder the MIT license. The test files, test-double.c and test-float.c 14*e5c38c3eSViral B. Shahare under the LGPL. 15ccd319c0SViral B. Shah 16fa07d51dSMilan Bouchet-Valat## Parts copyrighted by the Julia project (MIT License) 17ccd319c0SViral B. Shah 181367cb05SViral B. Shah> Copyright (c) 2011-14 The Julia Project. 19945c25a6SViral B. Shah> https://github.com/JuliaLang/openlibm/graphs/contributors 20945c25a6SViral B. Shah> 21945c25a6SViral B. Shah> Permission is hereby granted, free of charge, to any person obtaining 22945c25a6SViral B. Shah> a copy of this software and associated documentation files (the 23945c25a6SViral B. Shah> "Software"), to deal in the Software without restriction, including 24945c25a6SViral B. Shah> without limitation the rights to use, copy, modify, merge, publish, 25945c25a6SViral B. Shah> distribute, sublicense, and/or sell copies of the Software, and to 26945c25a6SViral B. Shah> permit persons to whom the Software is furnished to do so, subject to 27945c25a6SViral B. Shah> the following conditions: 28945c25a6SViral B. Shah> 29945c25a6SViral B. Shah> The above copyright notice and this permission notice shall be 30945c25a6SViral B. Shah> included in all copies or substantial portions of the Software. 31945c25a6SViral B. Shah> 32945c25a6SViral B. Shah> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 33945c25a6SViral B. Shah> EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 34945c25a6SViral B. Shah> MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 35945c25a6SViral B. Shah> NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 36945c25a6SViral B. Shah> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 37945c25a6SViral B. Shah> OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 38945c25a6SViral B. Shah> WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 39ccd319c0SViral B. Shah 40fa07d51dSMilan Bouchet-Valat## Parts copyrighted by Stephen L. Moshier (ISC License) 41fa07d51dSMilan Bouchet-Valat 42fa07d51dSMilan Bouchet-Valat> Copyright (c) 2008 Stephen L. Moshier <steve@moshier.net> 43fa07d51dSMilan Bouchet-Valat> 44fa07d51dSMilan Bouchet-Valat> Permission to use, copy, modify, and distribute this software for any 45fa07d51dSMilan Bouchet-Valat> purpose with or without fee is hereby granted, provided that the above 46fa07d51dSMilan Bouchet-Valat> copyright notice and this permission notice appear in all copies. 47fa07d51dSMilan Bouchet-Valat> 48fa07d51dSMilan Bouchet-Valat> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 49fa07d51dSMilan Bouchet-Valat> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 50fa07d51dSMilan Bouchet-Valat> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 51fa07d51dSMilan Bouchet-Valat> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 52fa07d51dSMilan Bouchet-Valat> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 53fa07d51dSMilan Bouchet-Valat> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 54fa07d51dSMilan Bouchet-Valat> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 55fa07d51dSMilan Bouchet-Valat 56fa07d51dSMilan Bouchet-Valat## FREEBSD MSUN (FreeBSD/2-clause BSD/Simplified BSD License) 57ccd319c0SViral B. Shah 58945c25a6SViral B. Shah> Copyright 1992-2011 The FreeBSD Project. All rights reserved. 59945c25a6SViral B. Shah> 60945c25a6SViral B. Shah> Redistribution and use in source and binary forms, with or without 61945c25a6SViral B. Shah> modification, are permitted provided that the following conditions are 62945c25a6SViral B. Shah> met: 63945c25a6SViral B. Shah> 64945c25a6SViral B. Shah> 1. Redistributions of source code must retain the above copyright 65945c25a6SViral B. Shah> notice, this list of conditions and the following disclaimer. 66945c25a6SViral B. Shah> 67945c25a6SViral B. Shah> 2. Redistributions in binary form must reproduce the above copyright 68945c25a6SViral B. Shah> notice, this list of conditions and the following disclaimer in the 69945c25a6SViral B. Shah> documentation and/or other materials provided with the distribution. 70945c25a6SViral B. Shah> THIS SOFTWARE IS PROVIDED BY THE FREEBSD PROJECT ``AS IS'' AND ANY 71945c25a6SViral B. Shah> EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 72945c25a6SViral B. Shah> IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 73945c25a6SViral B. Shah> PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD PROJECT OR 74945c25a6SViral B. Shah> CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 75945c25a6SViral B. Shah> EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 76945c25a6SViral B. Shah> PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 77945c25a6SViral B. Shah> PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 78945c25a6SViral B. Shah> LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 79945c25a6SViral B. Shah> NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 80945c25a6SViral B. Shah> SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 81945c25a6SViral B. Shah> 82945c25a6SViral B. Shah> The views and conclusions contained in the software and documentation 83945c25a6SViral B. Shah> are those of the authors and should not be interpreted as representing 84945c25a6SViral B. Shah> official policies, either expressed or implied, of the FreeBSD 85945c25a6SViral B. Shah> Project. 86ccd319c0SViral B. Shah 87e8bf3685SViral B. Shah## FDLIBM 88ccd319c0SViral B. Shah 89945c25a6SViral B. Shah> Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 90945c25a6SViral B. Shah> 91945c25a6SViral B. Shah> Developed at SunPro, a Sun Microsystems, Inc. business. 92945c25a6SViral B. Shah> Permission to use, copy, modify, and distribute this 93945c25a6SViral B. Shah> software is freely granted, provided that this notice 94945c25a6SViral B. Shah> is preserved. 951367cb05SViral B. Shah 961367cb05SViral B. Shah## Tests 971367cb05SViral B. Shah 981367cb05SViral B. Shah> Copyright (C) 1997, 1999 Free Software Foundation, Inc. 991367cb05SViral B. Shah> This file is part of the GNU C Library. 1001367cb05SViral B. Shah> Contributed by Andreas Jaeger <aj@suse.de>, 1997. 1011367cb05SViral B. Shah> 1021367cb05SViral B. Shah> The GNU C Library is free software; you can redistribute it and/or 1031367cb05SViral B. Shah> modify it under the terms of the GNU Lesser General Public 1041367cb05SViral B. Shah> License as published by the Free Software Foundation; either 1051367cb05SViral B. Shah> version 2.1 of the License, or (at your option) any later version. 1061367cb05SViral B. Shah> 1071367cb05SViral B. Shah> The GNU C Library is distributed in the hope that it will be useful, 1081367cb05SViral B. Shah> but WITHOUT ANY WARRANTY; without even the implied warranty of 1091367cb05SViral B. Shah> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 1101367cb05SViral B. Shah> Lesser General Public License for more details. 1111367cb05SViral B. Shah> 1121367cb05SViral B. Shah> You should have received a copy of the GNU Lesser General Public 1131367cb05SViral B. Shah> License along with the GNU C Library; if not, write to the Free 1141367cb05SViral B. Shah> Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 1151367cb05SViral B. Shah> 02111-1307 USA. 116