| author | |
| committer | |
| log | 208a74a5c55931271bc65ec4a5f51a0ccac65f52 |
| tree | 9e1e681b01a093659423041a29495db1bb35e7f4 |
| parent | 90ccd6051c77ec1c0a120084d0f21934102b4552 |
| signature |
mingw,musl,wasi-libc: remove c files, that only provide functions already included in zigc
mingw: remove c files, that only provide functions, which are in ucrt
mingw: do not include mingw files/zigc functions on targets on which they in ucrt65 files changed, 34 insertions(+), 2869 deletions(-)
lib/c/math.zig+15-13| ... | @@ -35,32 +35,32 @@ comptime { | ... | @@ -35,32 +35,32 @@ comptime { |
| 35 | } | 35 | } |
| 36 | 36 | ||
| 37 | if (builtin.target.isMinGW() or builtin.target.isMuslLibC() or builtin.target.isWasiLibC()) { | 37 | if (builtin.target.isMinGW() or builtin.target.isMuslLibC() or builtin.target.isWasiLibC()) { |
| 38 | symbol(&coshf, "coshf"); | ||
| 39 | symbol(&frexpf, "frexpf"); | 38 | symbol(&frexpf, "frexpf"); |
| 40 | symbol(&frexpl, "frexpl"); | 39 | symbol(&frexpl, "frexpl"); |
| 41 | symbol(&hypotf, "hypotf"); | 40 | symbol(&hypotf, "hypotf"); |
| 42 | symbol(&hypotl, "hypotl"); | 41 | symbol(&hypotl, "hypotl"); |
| 43 | symbol(&modff, "modff"); | ||
| 44 | symbol(&modfl, "modfl"); | 42 | symbol(&modfl, "modfl"); |
| 45 | symbol(&nan, "nan"); | 43 | } |
| 46 | symbol(&nanf, "nanf"); | 44 | |
| 45 | if ((builtin.target.isMinGW() and @sizeOf(f64) != @sizeOf(c_longdouble)) or builtin.target.isMuslLibC() or builtin.target.isWasiLibC()) { | ||
| 46 | symbol(&atanl, "atanl"); | ||
| 47 | symbol(&copysignl, "copysignl"); | ||
| 47 | symbol(&nanl, "nanl"); | 48 | symbol(&nanl, "nanl"); |
| 48 | symbol(&tanhf, "tanhf"); | ||
| 49 | } | 49 | } |
| 50 | 50 | ||
| 51 | if (builtin.target.isMinGW() or builtin.target.isMuslLibC()) { | 51 | if ((builtin.target.isMinGW() and builtin.cpu.arch == .x86) or builtin.target.isMuslLibC() or builtin.target.isWasiLibC()) { |
| 52 | symbol(&rint, "rint"); | 52 | symbol(&acosf, "acosf"); |
| 53 | symbol(&rintf, "rintf"); | 53 | symbol(&atanf, "atanf"); |
| 54 | symbol(&coshf, "coshf"); | ||
| 55 | symbol(&modff, "modff"); | ||
| 56 | symbol(&tanhf, "tanhf"); | ||
| 54 | } | 57 | } |
| 55 | 58 | ||
| 56 | if (builtin.target.isMuslLibC() or builtin.target.isWasiLibC()) { | 59 | if (builtin.target.isMuslLibC() or builtin.target.isWasiLibC()) { |
| 57 | symbol(&acos, "acos"); | 60 | symbol(&acos, "acos"); |
| 58 | symbol(&acosf, "acosf"); | ||
| 59 | symbol(&acoshf, "acoshf"); | 61 | symbol(&acoshf, "acoshf"); |
| 60 | symbol(&asin, "asin"); | 62 | symbol(&asin, "asin"); |
| 61 | symbol(&atan, "atan"); | 63 | symbol(&atan, "atan"); |
| 62 | symbol(&atanf, "atanf"); | ||
| 63 | symbol(&atanl, "atanl"); | ||
| 64 | symbol(&cbrt, "cbrt"); | 64 | symbol(&cbrt, "cbrt"); |
| 65 | symbol(&cbrtf, "cbrtf"); | 65 | symbol(&cbrtf, "cbrtf"); |
| 66 | symbol(&cosh, "cosh"); | 66 | symbol(&cosh, "cosh"); |
| ... | @@ -74,6 +74,8 @@ comptime { | ... | @@ -74,6 +74,8 @@ comptime { |
| 74 | symbol(&lrint, "lrint"); | 74 | symbol(&lrint, "lrint"); |
| 75 | symbol(&lrintf, "lrintf"); | 75 | symbol(&lrintf, "lrintf"); |
| 76 | symbol(&modf, "modf"); | 76 | symbol(&modf, "modf"); |
| 77 | symbol(&nan, "nan"); | ||
| 78 | symbol(&nanf, "nanf"); | ||
| 77 | symbol(&pow, "pow"); | 79 | symbol(&pow, "pow"); |
| 78 | symbol(&pow10, "pow10"); | 80 | symbol(&pow10, "pow10"); |
| 79 | symbol(&pow10f, "pow10f"); | 81 | symbol(&pow10f, "pow10f"); |
| ... | @@ -83,9 +85,9 @@ comptime { | ... | @@ -83,9 +85,9 @@ comptime { |
| 83 | if (builtin.target.isMuslLibC()) { | 85 | if (builtin.target.isMuslLibC()) { |
| 84 | symbol(&copysign, "copysign"); | 86 | symbol(&copysign, "copysign"); |
| 85 | symbol(&copysignf, "copysignf"); | 87 | symbol(&copysignf, "copysignf"); |
| 88 | symbol(&rint, "rint"); | ||
| 89 | symbol(&rintf, "rintf"); | ||
| 86 | } | 90 | } |
| 87 | |||
| 88 | symbol(&copysignl, "copysignl"); | ||
| 89 | } | 91 | } |
| 90 | 92 | ||
| 91 | fn acos(x: f64) callconv(.c) f64 { | 93 | fn acos(x: f64) callconv(.c) f64 { |
lib/libc/mingw/complex/cabs.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cabs.def.h" | ||
lib/libc/mingw/complex/cabsf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cabs.def.h" | ||
lib/libc/mingw/complex/cacos.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "cacosh.def.h" | ||
| 50 | #include "cacos.def.h" | ||
lib/libc/mingw/complex/cacosf.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "cacosh.def.h" | ||
| 50 | #include "cacos.def.h" | ||
lib/libc/mingw/complex/carg.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "carg.def.h" | ||
lib/libc/mingw/complex/cargf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "carg.def.h" | ||
lib/libc/mingw/complex/casin.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "casinh.def.h" | ||
| 50 | #include "casin.def.h" | ||
lib/libc/mingw/complex/casinf.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "casinh.def.h" | ||
| 50 | #include "casin.def.h" | ||
lib/libc/mingw/complex/catan.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "catanh.def.h" | ||
| 50 | #include "catan.def.h" | ||
lib/libc/mingw/complex/catanf.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "catanh.def.h" | ||
| 50 | #include "catan.def.h" | ||
lib/libc/mingw/complex/ccos.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "ccosh.def.h" | ||
| 50 | #include "ccos.def.h" | ||
lib/libc/mingw/complex/ccosf.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "ccosh.def.h" | ||
| 50 | #include "ccos.def.h" | ||
lib/libc/mingw/complex/cexp.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cexp.def.h" | ||
lib/libc/mingw/complex/cexpf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cexp.def.h" | ||
lib/libc/mingw/complex/cimag.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cimag.def.h" | ||
lib/libc/mingw/complex/cimagf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cimag.def.h" | ||
lib/libc/mingw/complex/clog.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "clog.def.h" | ||
lib/libc/mingw/complex/clog10.c deleted-49| ... | @@ -1,49 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #define _GNU_SOURCE | ||
| 48 | #include "complex_internal.h" | ||
| 49 | #include "clog10.def.h" | ||
lib/libc/mingw/complex/clog10f.c deleted-49| ... | @@ -1,49 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #define _GNU_SOURCE | ||
| 48 | #include "complex_internal.h" | ||
| 49 | #include "clog10.def.h" | ||
lib/libc/mingw/complex/clogf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "clog.def.h" | ||
lib/libc/mingw/complex/conj.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "conj.def.h" | ||
lib/libc/mingw/complex/conjf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "conj.def.h" | ||
lib/libc/mingw/complex/cpow.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cpow.def.h" | ||
lib/libc/mingw/complex/cpowf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cpow.def.h" | ||
lib/libc/mingw/complex/cproj.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cproj.def.h" | ||
lib/libc/mingw/complex/cprojf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "cproj.def.h" | ||
lib/libc/mingw/complex/creal.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "creal.def.h" | ||
lib/libc/mingw/complex/crealf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "creal.def.h" | ||
lib/libc/mingw/complex/csin.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "csinh.def.h" | ||
| 50 | #include "csin.def.h" | ||
lib/libc/mingw/complex/csinf.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "csinh.def.h" | ||
| 50 | #include "csin.def.h" | ||
lib/libc/mingw/complex/csqrt.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "csqrt.def.h" | ||
lib/libc/mingw/complex/csqrtf.c deleted-48| ... | @@ -1,48 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | #include "csqrt.def.h" | ||
lib/libc/mingw/complex/ctan.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* double version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_DOUBLE 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "ctanh.def.h" | ||
| 50 | #include "ctan.def.h" | ||
lib/libc/mingw/complex/ctanf.c deleted-50| ... | @@ -1,50 +0,0 @@ | ||
| 1 | /* | ||
| 2 | This Software is provided under the Zope Public License (ZPL) Version 2.1. | ||
| 3 | |||
| 4 | Copyright (c) 2009, 2010 by the mingw-w64 project | ||
| 5 | |||
| 6 | See the AUTHORS file for the list of contributors to the mingw-w64 project. | ||
| 7 | |||
| 8 | This license has been certified as open source. It has also been designated | ||
| 9 | as GPL compatible by the Free Software Foundation (FSF). | ||
| 10 | |||
| 11 | Redistribution and use in source and binary forms, with or without | ||
| 12 | modification, are permitted provided that the following conditions are met: | ||
| 13 | |||
| 14 | 1. Redistributions in source code must retain the accompanying copyright | ||
| 15 | notice, this list of conditions, and the following disclaimer. | ||
| 16 | 2. Redistributions in binary form must reproduce the accompanying | ||
| 17 | copyright notice, this list of conditions, and the following disclaimer | ||
| 18 | in the documentation and/or other materials provided with the | ||
| 19 | distribution. | ||
| 20 | 3. Names of the copyright holders must not be used to endorse or promote | ||
| 21 | products derived from this software without prior written permission | ||
| 22 | from the copyright holders. | ||
| 23 | 4. The right to distribute this software or to use it for any purpose does | ||
| 24 | not give you the right to use Servicemarks (sm) or Trademarks (tm) of | ||
| 25 | the copyright holders. Use of them is covered by separate agreement | ||
| 26 | with the copyright holders. | ||
| 27 | 5. If any files are modified, you must cause the modified files to carry | ||
| 28 | prominent notices stating that you changed the files and the date of | ||
| 29 | any change. | ||
| 30 | |||
| 31 | Disclaimer | ||
| 32 | |||
| 33 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED | ||
| 34 | OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
| 35 | OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO | ||
| 36 | EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
| 37 | INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | ||
| 38 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, | ||
| 39 | OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF | ||
| 40 | LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING | ||
| 41 | NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, | ||
| 42 | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 43 | */ | ||
| 44 | |||
| 45 | /* Float version of the functions. */ | ||
| 46 | #define _NEW_COMPLEX_FLOAT 1 | ||
| 47 | #include "complex_internal.h" | ||
| 48 | |||
| 49 | #include "ctanh.def.h" | ||
| 50 | #include "ctan.def.h" | ||
lib/libc/mingw/math/arm/s_rint.c deleted-86| ... | @@ -1,86 +0,0 @@ | ||
| 1 | /* @(#)s_rint.c 5.1 93/09/24 */ | ||
| 2 | /* | ||
| 3 | * ==================================================== | ||
| 4 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | ||
| 5 | * | ||
| 6 | * Developed at SunPro, a Sun Microsystems, Inc. business. | ||
| 7 | * Permission to use, copy, modify, and distribute this | ||
| 8 | * software is freely granted, provided that this notice | ||
| 9 | * is preserved. | ||
| 10 | * ==================================================== | ||
| 11 | */ | ||
| 12 | |||
| 13 | #include <sys/cdefs.h> | ||
| 14 | |||
| 15 | /* | ||
| 16 | * rint(x) | ||
| 17 | * Return x rounded to integral value according to the prevailing | ||
| 18 | * rounding mode. | ||
| 19 | * Method: | ||
| 20 | *	Using floating addition. | ||
| 21 | * Exception: | ||
| 22 | *	Inexact flag raised if x not equal to rint(x). | ||
| 23 | */ | ||
| 24 | |||
| 25 | #include <float.h> | ||
| 26 | |||
| 27 | #include "../bsd_private_base.h" | ||
| 28 | |||
| 29 | static const double | ||
| 30 | TWO52[2]={ | ||
| 31 | 4.50359962737049600000e+15, /* 0x43300000, 0x00000000 */ | ||
| 32 | -4.50359962737049600000e+15, /* 0xC3300000, 0x00000000 */ | ||
| 33 | }; | ||
| 34 | |||
| 35 | double | ||
| 36 | rint(double x) | ||
| 37 | { | ||
| 38 | 	int32_t i0,j0,sx; | ||
| 39 | 	u_int32_t i,i1; | ||
| 40 | 	double w,t; | ||
| 41 | 	EXTRACT_WORDS(i0,i1,x); | ||
| 42 | 	sx = (i0>>31)&1; | ||
| 43 | 	j0 = ((i0>>20)&0x7ff)-0x3ff; | ||
| 44 | 	if(j0<20) { | ||
| 45 | 	 if(j0<0) { | ||
| 46 | 		if(((i0&0x7fffffff)|i1)==0) return x; | ||
| 47 | 		i1 |= (i0&0x0fffff); | ||
| 48 | 		i0 &= 0xfffe0000; | ||
| 49 | 		i0 |= ((i1|-i1)>>12)&0x80000; | ||
| 50 | 		SET_HIGH_WORD(x,i0); | ||
| 51 | 	 STRICT_ASSIGN(double,w,TWO52[sx]+x); | ||
| 52 | 	 t = w-TWO52[sx]; | ||
| 53 | 		GET_HIGH_WORD(i0,t); | ||
| 54 | 		SET_HIGH_WORD(t,(i0&0x7fffffff)|(sx<<31)); | ||
| 55 | 	 return t; | ||
| 56 | 	 } else { | ||
| 57 | 		i = (0x000fffff)>>j0; | ||
| 58 | 		if(((i0&i)|i1)==0) return x; /* x is integral */ | ||
| 59 | 		i>>=1; | ||
| 60 | 		if(((i0&i)|i1)!=0) { | ||
| 61 | 		 /* | ||
| 62 | 		 * Some bit is set after the 0.5 bit. To avoid the | ||
| 63 | 		 * possibility of errors from double rounding in | ||
| 64 | 		 * w = TWO52[sx]+x, adjust the 0.25 bit to a lower | ||
| 65 | 		 * guard bit. We do this for all j0<=51. The | ||
| 66 | 		 * adjustment is trickiest for j0==18 and j0==19 | ||
| 67 | 		 * since then it spans the word boundary. | ||
| 68 | 		 */ | ||
| 69 | 		 if(j0==19) i1 = 0x40000000; else | ||
| 70 | 		 if(j0==18) i1 = 0x80000000; else | ||
| 71 | 		 i0 = (i0&(~i))|((0x20000)>>j0); | ||
| 72 | 		} | ||
| 73 | 	 } | ||
| 74 | 	} else if (j0>51) { | ||
| 75 | 	 if(j0==0x400) return x+x;	/* inf or NaN */ | ||
| 76 | 	 else return x;		/* x is integral */ | ||
| 77 | 	} else { | ||
| 78 | 	 i = ((u_int32_t)(0xffffffff))>>(j0-20); | ||
| 79 | 	 if((i1&i)==0) return x;	/* x is integral */ | ||
| 80 | 	 i>>=1; | ||
| 81 | 	 if((i1&i)!=0) i1 = (i1&(~i))|((0x40000000)>>(j0-20)); | ||
| 82 | 	} | ||
| 83 | 	INSERT_WORDS(x,i0,i1); | ||
| 84 | 	STRICT_ASSIGN(double,w,TWO52[sx]+x); | ||
| 85 | 	return w-TWO52[sx]; | ||
| 86 | } | ||
lib/libc/mingw/math/arm/s_rintf.c deleted-51| ... | @@ -1,51 +0,0 @@ | ||
| 1 | /* s_rintf.c -- float version of s_rint.c. | ||
| 2 | * Conversion to float by Ian Lance Taylor, Cygnus Support, ian@cygnus.com. | ||
| 3 | */ | ||
| 4 | |||
| 5 | /* | ||
| 6 | * ==================================================== | ||
| 7 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | ||
| 8 | * | ||
| 9 | * Developed at SunPro, a Sun Microsystems, Inc. business. | ||
| 10 | * Permission to use, copy, modify, and distribute this | ||
| 11 | * software is freely granted, provided that this notice | ||
| 12 | * is preserved. | ||
| 13 | * ==================================================== | ||
| 14 | */ | ||
| 15 | |||
| 16 | #include <sys/cdefs.h> | ||
| 17 | |||
| 18 | #include <float.h> | ||
| 19 | #include <stdint.h> | ||
| 20 | |||
| 21 | #include "../bsd_private_base.h" | ||
| 22 | |||
| 23 | static const float | ||
| 24 | TWO23[2]={ | ||
| 25 | 8.3886080000e+06, /* 0x4b000000 */ | ||
| 26 | -8.3886080000e+06, /* 0xcb000000 */ | ||
| 27 | }; | ||
| 28 | |||
| 29 | float | ||
| 30 | rintf(float x) | ||
| 31 | { | ||
| 32 | 	int32_t i0,j0,sx; | ||
| 33 | 	float w,t; | ||
| 34 | 	GET_FLOAT_WORD(i0,x); | ||
| 35 | 	sx = (i0>>31)&1; | ||
| 36 | 	j0 = ((i0>>23)&0xff)-0x7f; | ||
| 37 | 	if(j0<23) { | ||
| 38 | 	 if(j0<0) { | ||
| 39 | 		if((i0&0x7fffffff)==0) return x; | ||
| 40 | 		STRICT_ASSIGN(float,w,TWO23[sx]+x); | ||
| 41 | 	 t = w-TWO23[sx]; | ||
| 42 | 		GET_FLOAT_WORD(i0,t); | ||
| 43 | 		SET_FLOAT_WORD(t,(i0&0x7fffffff)|(sx<<31)); | ||
| 44 | 	 return t; | ||
| 45 | 	 } | ||
| 46 | 	 STRICT_ASSIGN(float,w,TWO23[sx]+x); | ||
| 47 | 	 return w-TWO23[sx]; | ||
| 48 | 	} | ||
| 49 | 	if(j0==0x80) return x+x;	/* inf or NaN */ | ||
| 50 | 	else return x;			/* x is integral */ | ||
| 51 | } | ||
lib/libc/mingw/math/bsd_private_base.h deleted-148| ... | @@ -1,148 +0,0 @@ | ||
| 1 | /* | ||
| 2 | * ==================================================== | ||
| 3 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. | ||
| 4 | * | ||
| 5 | * Developed at SunPro, a Sun Microsystems, Inc. business. | ||
| 6 | * Permission to use, copy, modify, and distribute this | ||
| 7 | * software is freely granted, provided that this notice | ||
| 8 | * is preserved. | ||
| 9 | * ==================================================== | ||
| 10 | */ | ||
| 11 | |||
| 12 | #include <inttypes.h> | ||
| 13 | #include <float.h> | ||
| 14 | |||
| 15 | typedef unsigned int u_int32_t; | ||
| 16 | |||
| 17 | typedef union | ||
| 18 | { | ||
| 19 | double value; | ||
| 20 | struct | ||
| 21 | { | ||
| 22 | u_int32_t lsw; | ||
| 23 | u_int32_t msw; | ||
| 24 | } parts; | ||
| 25 | } ieee_double_shape_type; | ||
| 26 | |||
| 27 | typedef union { | ||
| 28 | float value; | ||
| 29 | u_int32_t word; | ||
| 30 | } ieee_float_shape_type; | ||
| 31 | |||
| 32 | /* Get two 32 bit ints from a double. */ | ||
| 33 | |||
| 34 | #define EXTRACT_WORDS(ix0,ix1,d) \ | ||
| 35 | do { \ | ||
| 36 | ieee_double_shape_type ew_u; \ | ||
| 37 | ew_u.value = (d); \ | ||
| 38 | (ix0) = ew_u.parts.msw; \ | ||
| 39 | (ix1) = ew_u.parts.lsw; \ | ||
| 40 | } while (0) | ||
| 41 | |||
| 42 | /* Get the most significant 32 bit int from a double. */ | ||
| 43 | |||
| 44 | #define GET_HIGH_WORD(i,d) \ | ||
| 45 | do { \ | ||
| 46 | ieee_double_shape_type gh_u; \ | ||
| 47 | gh_u.value = (d); \ | ||
| 48 | (i) = gh_u.parts.msw; \ | ||
| 49 | } while (0) | ||
| 50 | |||
| 51 | /* Get the less significant 32 bit int from a double. */ | ||
| 52 | |||
| 53 | #define GET_LOW_WORD(i,d) \ | ||
| 54 | do { \ | ||
| 55 | ieee_double_shape_type gl_u; \ | ||
| 56 | gl_u.value = (d); \ | ||
| 57 | (i) = gl_u.parts.lsw; \ | ||
| 58 | } while (0) | ||
| 59 | |||
| 60 | /* Set a double from two 32 bit ints. */ | ||
| 61 | |||
| 62 | #define INSERT_WORDS(d,ix0,ix1) \ | ||
| 63 | do { \ | ||
| 64 | ieee_double_shape_type iw_u; \ | ||
| 65 | iw_u.parts.msw = (ix0); \ | ||
| 66 | iw_u.parts.lsw = (ix1); \ | ||
| 67 | (d) = iw_u.value; \ | ||
| 68 | } while (0) | ||
| 69 | |||
| 70 | /* Set the more significant 32 bits of a double from an int. */ | ||
| 71 | |||
| 72 | #define SET_HIGH_WORD(d,v) \ | ||
| 73 | do { \ | ||
| 74 | ieee_double_shape_type sh_u; \ | ||
| 75 | sh_u.value = (d); \ | ||
| 76 | sh_u.parts.msw = (v); \ | ||
| 77 | (d) = sh_u.value; \ | ||
| 78 | } while (0) | ||
| 79 | |||
| 80 | /* Set the less significant 32 bits of a double from an int. */ | ||
| 81 | |||
| 82 | #define SET_LOW_WORD(d,v) \ | ||
| 83 | do { \ | ||
| 84 | ieee_double_shape_type sl_u; \ | ||
| 85 | sl_u.value = (d); \ | ||
| 86 | sl_u.parts.lsw = (v); \ | ||
| 87 | (d) = sl_u.value; \ | ||
| 88 | } while (0) | ||
| 89 | |||
| 90 | #define GET_FLOAT_WORD(i,d) do \ | ||
| 91 | { \ | ||
| 92 | ieee_float_shape_type gf_u; \ | ||
| 93 | gf_u.value = (d); \ | ||
| 94 | (i) = gf_u.word; \ | ||
| 95 | } while(0) | ||
| 96 | |||
| 97 | #define SET_FLOAT_WORD(d,i) do \ | ||
| 98 | { \ | ||
| 99 | ieee_float_shape_type gf_u; \ | ||
| 100 | gf_u.word = (i); \ | ||
| 101 | (d) = gf_u.value; \ | ||
| 102 | } while(0) | ||
| 103 | |||
| 104 | |||
| 105 | #ifdef FLT_EVAL_METHOD | ||
| 106 | /* | ||
| 107 | * Attempt to get strict C99 semantics for assignment with non-C99 compilers. | ||
| 108 | */ | ||
| 109 | #if FLT_EVAL_METHOD == 0 || __GNUC__ == 0 | ||
| 110 | #define	STRICT_ASSIGN(type, lval, rval)	((lval) = (rval)) | ||
| 111 | #else | ||
| 112 | #define	STRICT_ASSIGN(type, lval, rval) do {	\ | ||
| 113 | 	volatile type __lval;			\ | ||
| 114 | 						\ | ||
| 115 | 	if (sizeof(type) >= sizeof(long double))	\ | ||
| 116 | 		(lval) = (rval);		\ | ||
| 117 | 	else {					\ | ||
| 118 | 		__lval = (rval);		\ | ||
| 119 | 		(lval) = __lval;		\ | ||
| 120 | 	}					\ | ||
| 121 | } while (0) | ||
| 122 | #endif | ||
| 123 | #endif /* FLT_EVAL_METHOD */ | ||
| 124 | |||
| 125 | /* | ||
| 126 | * Mix 0, 1 or 2 NaNs. First add 0 to each arg. This normally just turns | ||
| 127 | * signaling NaNs into quiet NaNs by setting a quiet bit. We do this | ||
| 128 | * because we want to never return a signaling NaN, and also because we | ||
| 129 | * don't want the quiet bit to affect the result. Then mix the converted | ||
| 130 | * args using the specified operation. | ||
| 131 | * | ||
| 132 | * When one arg is NaN, the result is typically that arg quieted. When both | ||
| 133 | * args are NaNs, the result is typically the quietening of the arg whose | ||
| 134 | * mantissa is largest after quietening. When neither arg is NaN, the | ||
| 135 | * result may be NaN because it is indeterminate, or finite for subsequent | ||
| 136 | * construction of a NaN as the indeterminate 0.0L/0.0L. | ||
| 137 | * | ||
| 138 | * Technical complications: the result in bits after rounding to the final | ||
| 139 | * precision might depend on the runtime precision and/or on compiler | ||
| 140 | * optimizations, especially when different register sets are used for | ||
| 141 | * different precisions. Try to make the result not depend on at least the | ||
| 142 | * runtime precision by always doing the main mixing step in long double | ||
| 143 | * precision. Try to reduce dependencies on optimizations by adding the | ||
| 144 | * the 0's in different precisions (unless everything is in long double | ||
| 145 | * precision). | ||
| 146 | */ | ||
| 147 | #define nan_mix(x, y)		(nan_mix_op((x), (y), +)) | ||
| 148 | #define nan_mix_op(x, y, op)	(((x) + 0.0L) op ((y) + 0)) | ||
lib/libc/mingw/math/x86/acosf.c deleted-29| ... | @@ -1,29 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | /* | ||
| 7 | * Written by J.T. Conklin <jtc@netbsd.org>. | ||
| 8 | * Public domain. | ||
| 9 | */ | ||
| 10 | |||
| 11 | #include <math.h> | ||
| 12 | |||
| 13 | float | ||
| 14 | acosf (float x) | ||
| 15 | { | ||
| 16 | float res = 0.0F; | ||
| 17 | |||
| 18 | /* acosl = atanl (sqrtl(1 - x^2) / x) */ | ||
| 19 | asm volatile ( | ||
| 20 | 	"fld	%%st\n\t" | ||
| 21 | 	"fmul	%%st(0)\n\t"		/* x^2 */ | ||
| 22 | 	"fld1\n\t" | ||
| 23 | 	"fsubp\n\t"			/* 1 - x^2 */ | ||
| 24 | 	"fsqrt\n\t"			/* sqrtl (1 - x^2) */ | ||
| 25 | 	"fxch	%%st(1)\n\t" | ||
| 26 | 	"fpatan" | ||
| 27 | 	: "=t" (res) : "0" (x) : "st(1)"); | ||
| 28 | return res; | ||
| 29 | } | ||
lib/libc/mingw/math/x86/atanf.c deleted-23| ... | @@ -1,23 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | /* | ||
| 7 | * Written by J.T. Conklin <jtc@netbsd.org>. | ||
| 8 | * Public domain. | ||
| 9 | * | ||
| 10 | */ | ||
| 11 | |||
| 12 | #include <math.h> | ||
| 13 | |||
| 14 | float | ||
| 15 | atanf (float x) | ||
| 16 | { | ||
| 17 | float res = 0.0F; | ||
| 18 | |||
| 19 | asm volatile ( | ||
| 20 | "fld1\n\t" | ||
| 21 | "fpatan" : "=t" (res) : "0" (x)); | ||
| 22 | return res; | ||
| 23 | } | ||
lib/libc/mingw/math/x86/atanl.c deleted-18| ... | @@ -1,18 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | long double atanl (long double x); | ||
| 7 | |||
| 8 | long double | ||
| 9 | atanl (long double x) | ||
| 10 | { | ||
| 11 | long double res = 0.0L; | ||
| 12 | |||
| 13 | asm volatile ( | ||
| 14 | "fld1\n\t" | ||
| 15 | "fpatan" | ||
| 16 | : "=t" (res) : "0" (x)); | ||
| 17 | return res; | ||
| 18 | } | ||
lib/libc/mingw/math/x86/ldexp.c deleted-23| ... | @@ -1,23 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #include <math.h> | ||
| 7 | #include <errno.h> | ||
| 8 | |||
| 9 | double ldexp(double x, int expn) | ||
| 10 | { | ||
| 11 | double res = 0.0; | ||
| 12 | if (!isfinite (x) || x == 0.0) | ||
| 13 | return x; | ||
| 14 | |||
| 15 | __asm__ __volatile__ ("fscale" | ||
| 16 | 	 : "=t" (res) | ||
| 17 | 	 : "0" (x), "u" ((double) expn)); | ||
| 18 | |||
| 19 | if (!isfinite (res) || res == 0.0L) | ||
| 20 | errno = ERANGE; | ||
| 21 | |||
| 22 | return res; | ||
| 23 | } | ||
lib/libc/mingw/math/x86/scalbn.S deleted-41| ... | @@ -1,41 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #include <_mingw_mac.h> | ||
| 7 | |||
| 8 | 	.file	"scalbn.S" | ||
| 9 | 	.text | ||
| 10 | #ifdef __x86_64__ | ||
| 11 | 	.align 8 | ||
| 12 | #else | ||
| 13 | 	.align 4 | ||
| 14 | #endif | ||
| 15 | .globl __MINGW_USYMBOL(scalbn) | ||
| 16 | 	.def	__MINGW_USYMBOL(scalbn);	.scl	2;	.type	32;	.endef | ||
| 17 | __MINGW_USYMBOL(scalbn): | ||
| 18 | #ifdef __x86_64__ | ||
| 19 | 	subq	$24, %rsp | ||
| 20 | 	movq	%rdx,(%rsp) | ||
| 21 | 	fildl	(%rsp) | ||
| 22 | 	movsd	%xmm0,(%rsp) | ||
| 23 | 	fldl	(%rsp) | ||
| 24 | 	fscale | ||
| 25 | 	fstp	%st(1) | ||
| 26 | 	fstpl	(%rsp) | ||
| 27 | 	movsd	(%rsp),%xmm0 | ||
| 28 | 	addq	$24, %rsp | ||
| 29 | 	ret | ||
| 30 | |||
| 31 | #else | ||
| 32 | 	fildl	12(%esp) | ||
| 33 | 	fldl	4(%esp) | ||
| 34 | 	fscale | ||
| 35 | 	fstp	%st(1) | ||
| 36 | 	ret | ||
| 37 | #endif | ||
| 38 | |||
| 39 | .globl __MINGW_USYMBOL(scalbln) | ||
| 40 | 	.set	__MINGW_USYMBOL(scalbln),__MINGW_USYMBOL(scalbn) | ||
| 41 | |||
lib/libc/mingw/math/x86/scalbnf.S deleted-40| ... | @@ -1,40 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #include <_mingw_mac.h> | ||
| 7 | |||
| 8 | 	.file	"scalbnf.S" | ||
| 9 | 	.text | ||
| 10 | #ifdef __x86_64__ | ||
| 11 | 	.align 8 | ||
| 12 | #else | ||
| 13 | 	.align 4 | ||
| 14 | #endif | ||
| 15 | .globl __MINGW_USYMBOL(scalbnf) | ||
| 16 | 	.def	__MINGW_USYMBOL(scalbnf);	.scl	2;	.type	32;	.endef | ||
| 17 | __MINGW_USYMBOL(scalbnf): | ||
| 18 | #ifdef __x86_64__ | ||
| 19 | 	subq	$24, %rsp | ||
| 20 | 	movq	%rdx,(%rsp) | ||
| 21 | 	fildl	(%rsp) | ||
| 22 | 	movss	%xmm0,(%rsp) | ||
| 23 | 	flds	(%rsp) | ||
| 24 | 	fscale | ||
| 25 | 	fstp	%st(1) | ||
| 26 | 	fstps	(%rsp) | ||
| 27 | 	movss	(%rsp),%xmm0 | ||
| 28 | 	addq	$24, %rsp | ||
| 29 | 	ret | ||
| 30 | #else | ||
| 31 | 	fildl	8(%esp) | ||
| 32 | 	flds	4(%esp) | ||
| 33 | 	fscale | ||
| 34 | 	fstp	%st(1) | ||
| 35 | 	ret | ||
| 36 | #endif | ||
| 37 | |||
| 38 | .globl __MINGW_USYMBOL(scalblnf) | ||
| 39 | 	.set	__MINGW_USYMBOL(scalblnf),__MINGW_USYMBOL(scalbnf) | ||
| 40 | |||
lib/libc/mingw/misc/btowc.c deleted-28| ... | @@ -1,28 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifndef WIN32_LEAN_AND_MEAN | ||
| 7 | #define WIN32_LEAN_AND_MEAN | ||
| 8 | #endif | ||
| 9 | #include "mb_wc_common.h" | ||
| 10 | #include <wchar.h> | ||
| 11 | #include <stdio.h> | ||
| 12 | #include <windows.h> | ||
| 13 | |||
| 14 | wint_t btowc (int c) | ||
| 15 | { | ||
| 16 | if (c == EOF) | ||
| 17 | return (WEOF); | ||
| 18 | else | ||
| 19 | { | ||
| 20 | unsigned char ch = c; | ||
| 21 | wchar_t wc = WEOF; | ||
| 22 | if (!MultiByteToWideChar (___lc_codepage_func(), MB_ERR_INVALID_CHARS, | ||
| 23 | (char*)&ch, 1, &wc, 1)) | ||
| 24 | return WEOF; | ||
| 25 | |||
| 26 | return wc; | ||
| 27 | } | ||
| 28 | } | ||
lib/libc/mingw/misc/wcstof.c deleted-66| ... | @@ -1,66 +0,0 @@ | ||
| 1 | /* Wide char wrapper for strtof | ||
| 2 | * Revision history: | ||
| 3 | * 25 Aug 2006 Initial version. | ||
| 4 | * | ||
| 5 | * Contributor: Danny Smith <dannysmith@users.sourceforege.net> | ||
| 6 | */ | ||
| 7 | |||
| 8 | /* This routine has been placed in the public domain.*/ | ||
| 9 | |||
| 10 | #define WIN32_LEAN_AND_MEAN | ||
| 11 | #include <windows.h> | ||
| 12 | #include <locale.h> | ||
| 13 | #include <wchar.h> | ||
| 14 | #include <stdlib.h> | ||
| 15 | #include <string.h> | ||
| 16 | #include <mbstring.h> | ||
| 17 | |||
| 18 | #include "mb_wc_common.h" | ||
| 19 | |||
| 20 | float wcstof (const wchar_t * __restrict__ wcs, wchar_t ** __restrict__ wcse) | ||
| 21 | { | ||
| 22 | char * cs; | ||
| 23 | char * cse; | ||
| 24 | unsigned int i; | ||
| 25 | float ret; | ||
| 26 | const unsigned int cp = ___lc_codepage_func(); | ||
| 27 | |||
| 28 | /* Allocate enough room for (possibly) mb chars */ | ||
| 29 | cs = (char *) malloc ((wcslen(wcs)+1) * MB_CUR_MAX); | ||
| 30 | |||
| 31 | if (cp == 0) /* C locale */ | ||
| 32 | { | ||
| 33 | for (i = 0; (wcs[i] != 0) && wcs[i] <= 255; i++) | ||
| 34 | 	cs[i] = (char) wcs[i]; | ||
| 35 | cs[i] = '\0'; | ||
| 36 | } | ||
| 37 | else | ||
| 38 | { | ||
| 39 | int nbytes = -1; | ||
| 40 | int mb_len = 0; | ||
| 41 | /* loop through till we hit null or invalid character */ | ||
| 42 | for (i = 0; (wcs[i] != 0) && (nbytes != 0); i++) | ||
| 43 | 	{ | ||
| 44 | 	 nbytes = WideCharToMultiByte(cp, WC_COMPOSITECHECK | WC_SEPCHARS, | ||
| 45 | 				 wcs + i, 1, cs + mb_len, MB_CUR_MAX, | ||
| 46 | 				 NULL, NULL); | ||
| 47 | 	 mb_len += nbytes; | ||
| 48 | 	} | ||
| 49 | cs[mb_len] = '\0'; | ||
| 50 | } | ||
| 51 | |||
| 52 | ret = strtof (cs, &cse); | ||
| 53 | |||
| 54 | if (wcse) | ||
| 55 | { | ||
| 56 | /* Make sure temp mbstring cs has 0 at cse. */ | ||
| 57 | *cse = '\0'; | ||
| 58 | i = MultiByteToWideChar (cp, MB_ERR_INVALID_CHARS, cs, -1, NULL, 0); | ||
| 59 | if (i > 0) | ||
| 60 | i -= 1; /* Remove zero terminator from length. */ | ||
| 61 | *wcse = (wchar_t *) wcs + i; | ||
| 62 | } | ||
| 63 | free (cs); | ||
| 64 | |||
| 65 | return ret; | ||
| 66 | } | ||
lib/libc/mingw/misc/wcstoimax.c deleted-132| ... | @@ -1,132 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | /* | ||
| 7 | This source code was extracted from the Q8 package created and | ||
| 8 | placed in the PUBLIC DOMAIN by Doug Gwyn <gwyn@arl.mil> | ||
| 9 | |||
| 10 | last edit:	1999/11/05	gwyn@arl.mil | ||
| 11 | |||
| 12 | 	Implements subclause 7.8.2 of ISO/IEC 9899:1999 (E). | ||
| 13 | |||
| 14 | 	This particular implementation requires the matching <inttypes.h>. | ||
| 15 | 	It also assumes that character codes for A..Z and a..z are in | ||
| 16 | 	contiguous ascending order; this is true for ASCII but not EBCDIC. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include <wchar.h> | ||
| 20 | #include <errno.h> | ||
| 21 | #include <ctype.h> | ||
| 22 | #include <inttypes.h> | ||
| 23 | |||
| 24 | /* convert digit wide character to number, in any base */ | ||
| 25 | |||
| 26 | #define ToWNumber(c)	(iswdigit(c) ? (c) - L'0' : \ | ||
| 27 | 			 iswupper(c) ? (c) - L'A' + 10 : \ | ||
| 28 | 			 iswlower(c) ? (c) - L'a' + 10 : \ | ||
| 29 | 			 -1		/* "invalid" flag */ \ | ||
| 30 | 			) | ||
| 31 | |||
| 32 | /* validate converted digit character for specific base */ | ||
| 33 | #define valid(n, b)	((n) >= 0 && (n) < (b)) | ||
| 34 | |||
| 35 | intmax_t | ||
| 36 | __cdecl | ||
| 37 | wcstoimax(const wchar_t * __restrict__ nptr, wchar_t ** __restrict__ endptr, int base) | ||
| 38 | 	{ | ||
| 39 | 	register uintmax_t	accum;	/* accumulates converted value */ | ||
| 40 | 	register int		n;	/* numeral from digit character */ | ||
| 41 | 	int			minus;	/* set iff minus sign seen */ | ||
| 42 | 	int			toobig;	/* set iff value overflows */ | ||
| 43 | |||
| 44 | 	if ( endptr != NULL ) | ||
| 45 | 		*endptr = (wchar_t *)nptr;	/* in case no conv performed */ | ||
| 46 | |||
| 47 | 	if ( base < 0 || base == 1 || base > 36 ) | ||
| 48 | 		{ | ||
| 49 | 		errno = EDOM; | ||
| 50 | 		return 0;		/* unspecified behavior */ | ||
| 51 | 		} | ||
| 52 | |||
| 53 | 	/* skip initial, possibly empty sequence of white-space w.characters */ | ||
| 54 | |||
| 55 | 	while ( iswspace(*nptr) ) | ||
| 56 | 		++nptr; | ||
| 57 | |||
| 58 | 	/* process subject sequence: */ | ||
| 59 | |||
| 60 | 	/* optional sign */ | ||
| 61 | |||
| 62 | 	if ( (minus = *nptr == L'-') || *nptr == L'+' ) | ||
| 63 | 		++nptr; | ||
| 64 | |||
| 65 | 	if ( base == 0 ) | ||
| 66 | { | ||
| 67 | 		if ( *nptr == L'0' ) | ||
| 68 | { | ||
| 69 | 			if ( nptr[1] == L'X' || nptr[1] == L'x' ) | ||
| 70 | 				base = 16; | ||
| 71 | 			else | ||
| 72 | 				base = 8; | ||
| 73 | } | ||
| 74 | 		else | ||
| 75 | 				base = 10; | ||
| 76 | } | ||
| 77 | 	/* optional "0x" or "0X" for base 16 */ | ||
| 78 | |||
| 79 | 	if ( base == 16 && *nptr == L'0' | ||
| 80 | 	 && (nptr[1] == L'X' || nptr[1] == L'x') | ||
| 81 | 	 ) | ||
| 82 | 		nptr += 2;		/* skip past this prefix */ | ||
| 83 | |||
| 84 | 	/* check whether there is at least one valid digit */ | ||
| 85 | |||
| 86 | 	n = ToWNumber(*nptr); | ||
| 87 | 	++nptr; | ||
| 88 | |||
| 89 | 	if ( !valid(n, base) ) | ||
| 90 | 		return 0;		/* subject seq. not of expected form */ | ||
| 91 | |||
| 92 | 	accum = n; | ||
| 93 | |||
| 94 | 	for ( toobig = 0; n = ToWNumber(*nptr), valid(n, base); ++nptr ) | ||
| 95 | 		if ( accum > (uintmax_t)(INTMAX_MAX / base + 2) ) /* major wrap-around */ | ||
| 96 | 			toobig = 1;	/* but keep scanning */ | ||
| 97 | 		else | ||
| 98 | 			accum = base * accum + n; | ||
| 99 | |||
| 100 | 	if ( endptr != NULL ) | ||
| 101 | 		*endptr = (wchar_t *)nptr;	/* -> first not-valid-digit */ | ||
| 102 | |||
| 103 | 	if ( minus ) | ||
| 104 | 		{ | ||
| 105 | 		if ( accum > (uintmax_t)INTMAX_MAX + 1 ) | ||
| 106 | 			toobig = 1; | ||
| 107 | 		} | ||
| 108 | 	else | ||
| 109 | 	if ( accum > (uintmax_t)INTMAX_MAX ) | ||
| 110 | 		toobig = 1; | ||
| 111 | |||
| 112 | 	if ( toobig ) | ||
| 113 | 		{ | ||
| 114 | 		errno = ERANGE; | ||
| 115 | 		return minus ? INTMAX_MIN : INTMAX_MAX; | ||
| 116 | 		} | ||
| 117 | 	else | ||
| 118 | 		return (intmax_t)(minus ? -accum : accum); | ||
| 119 | 	} | ||
| 120 | intmax_t (__cdecl *__MINGW_IMP_SYMBOL(wcstoimax))(const wchar_t * __restrict__, wchar_t ** __restrict__, int) = wcstoimax; | ||
| 121 | |||
| 122 | long long __attribute__ ((alias ("wcstoimax"))) | ||
| 123 | __cdecl | ||
| 124 | wcstoll (const wchar_t* __restrict__ nptr, wchar_t ** __restrict__ endptr, int base); | ||
| 125 | extern long long __attribute__ ((alias (__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(wcstoimax))))) | ||
| 126 | (__cdecl *__MINGW_IMP_SYMBOL(wcstoll))(const wchar_t * __restrict__, wchar_t ** __restrict__, int); | ||
| 127 | |||
| 128 | long long __attribute__ ((alias ("wcstoimax"))) | ||
| 129 | __cdecl | ||
| 130 | _wcstoi64 (const wchar_t* __restrict__ nptr, wchar_t ** __restrict__ endptr, int base); | ||
| 131 | extern long long __attribute__ ((alias (__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(wcstoimax))))) | ||
| 132 | (__cdecl *__MINGW_IMP_SYMBOL(_wcstoi64))(const wchar_t * __restrict__, wchar_t ** __restrict__, int); | ||
lib/libc/mingw/misc/wcstoumax.c deleted-126| ... | @@ -1,126 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | /* | ||
| 7 | This source code was extracted from the Q8 package created and | ||
| 8 | placed in the PUBLIC DOMAIN by Doug Gwyn <gwyn@arl.mil> | ||
| 9 | |||
| 10 | last edit:	1999/11/05	gwyn@arl.mil | ||
| 11 | |||
| 12 | 	Implements subclause 7.8.2 of ISO/IEC 9899:1999 (E). | ||
| 13 | |||
| 14 | 	This particular implementation requires the matching <inttypes.h>. | ||
| 15 | 	It also assumes that character codes for A..Z and a..z are in | ||
| 16 | 	contiguous ascending order; this is true for ASCII but not EBCDIC. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include <wchar.h> | ||
| 20 | #include <errno.h> | ||
| 21 | #include <ctype.h> | ||
| 22 | #include <inttypes.h> | ||
| 23 | |||
| 24 | /* convert digit wide character to number, in any base */ | ||
| 25 | |||
| 26 | #define ToWNumber(c)	(iswdigit(c) ? (c) - L'0' : \ | ||
| 27 | 			 iswupper(c) ? (c) - L'A' + 10 : \ | ||
| 28 | 			 iswlower(c) ? (c) - L'a' + 10 : \ | ||
| 29 | 			 -1		/* "invalid" flag */ \ | ||
| 30 | 			) | ||
| 31 | |||
| 32 | /* validate converted digit character for specific base */ | ||
| 33 | #define valid(n, b)	((n) >= 0 && (n) < (b)) | ||
| 34 | |||
| 35 | uintmax_t | ||
| 36 | __cdecl | ||
| 37 | wcstoumax(const wchar_t * __restrict__ nptr, wchar_t ** __restrict__ endptr, int base) | ||
| 38 | 	{ | ||
| 39 | 	register uintmax_t	accum;	/* accumulates converted value */ | ||
| 40 | 	register uintmax_t	next;	/* for computing next value of accum */ | ||
| 41 | 	register int		n;	/* numeral from digit character */ | ||
| 42 | 	int			minus;	/* set iff minus sign seen (yes!) */ | ||
| 43 | 	int			toobig;	/* set iff value overflows */ | ||
| 44 | |||
| 45 | 	if ( endptr != NULL ) | ||
| 46 | 		*endptr = (wchar_t *)nptr;	/* in case no conv performed */ | ||
| 47 | |||
| 48 | 	if ( base < 0 || base == 1 || base > 36 ) | ||
| 49 | 		{ | ||
| 50 | 		errno = EDOM; | ||
| 51 | 		return 0;		/* unspecified behavior */ | ||
| 52 | 		} | ||
| 53 | |||
| 54 | 	/* skip initial, possibly empty sequence of white-space w.characters */ | ||
| 55 | |||
| 56 | 	while ( iswspace(*nptr) ) | ||
| 57 | 		++nptr; | ||
| 58 | |||
| 59 | 	/* process subject sequence: */ | ||
| 60 | |||
| 61 | 	/* optional sign */ | ||
| 62 | |||
| 63 | 	if ( (minus = *nptr == L'-') || *nptr == L'+' ) | ||
| 64 | 		++nptr; | ||
| 65 | |||
| 66 | 	if ( base == 0 ) | ||
| 67 | { | ||
| 68 | 		if ( *nptr == L'0' ) | ||
| 69 | { | ||
| 70 | 			if ( nptr[1] == L'X' || nptr[1] == L'x' ) | ||
| 71 | 				base = 16; | ||
| 72 | 			else | ||
| 73 | 				base = 8; | ||
| 74 | } | ||
| 75 | 		else | ||
| 76 | 				base = 10; | ||
| 77 | } | ||
| 78 | 	/* optional "0x" or "0X" for base 16 */ | ||
| 79 | |||
| 80 | 	if ( base == 16 && *nptr == L'0' | ||
| 81 | 	 && (nptr[1] == L'X' || nptr[1] == L'x') | ||
| 82 | 	 ) | ||
| 83 | 		nptr += 2;		/* skip past this prefix */ | ||
| 84 | |||
| 85 | 	/* check whether there is at least one valid digit */ | ||
| 86 | |||
| 87 | 	n = ToWNumber(*nptr); | ||
| 88 | 	++nptr; | ||
| 89 | |||
| 90 | 	if ( !valid(n, base) ) | ||
| 91 | 		return 0;		/* subject seq. not of expected form */ | ||
| 92 | |||
| 93 | 	accum = n; | ||
| 94 | |||
| 95 | 	for ( toobig = 0; n = ToWNumber(*nptr), valid(n, base); ++nptr ) | ||
| 96 | 		if ( accum > UINTMAX_MAX / base + 1	/* major wrap-around */ | ||
| 97 | 		 || (next = base * accum + n) < accum	/* minor wrap-around */ | ||
| 98 | 		 ) | ||
| 99 | 			toobig = 1;	/* but keep scanning */ | ||
| 100 | 		else | ||
| 101 | 			accum = next; | ||
| 102 | |||
| 103 | 	if ( endptr != NULL ) | ||
| 104 | 		*endptr = (wchar_t *)nptr;	/* -> first not-valid-digit */ | ||
| 105 | |||
| 106 | 	if ( toobig ) | ||
| 107 | 		{ | ||
| 108 | 		errno = ERANGE; | ||
| 109 | 		return UINTMAX_MAX; | ||
| 110 | 		} | ||
| 111 | 	else | ||
| 112 | 		return minus ? -accum : accum;	/* (yes!) */ | ||
| 113 | 	} | ||
| 114 | uintmax_t (__cdecl *__MINGW_IMP_SYMBOL(wcstoumax))(const wchar_t * __restrict__, wchar_t ** __restrict__, int) = wcstoumax; | ||
| 115 | |||
| 116 | unsigned long long __attribute__ ((alias ("wcstoumax"))) | ||
| 117 | __cdecl | ||
| 118 | wcstoull (const wchar_t* __restrict__ nptr, wchar_t ** __restrict__ endptr, int base); | ||
| 119 | extern unsigned long long __attribute__ ((alias (__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(wcstoumax))))) | ||
| 120 | (__cdecl *__MINGW_IMP_SYMBOL(wcstoull))(const wchar_t * __restrict__, wchar_t ** __restrict__, int); | ||
| 121 | |||
| 122 | unsigned long long __attribute__ ((alias ("wcstoumax"))) | ||
| 123 | __cdecl | ||
| 124 | _wcstoui64 (const wchar_t* __restrict__ nptr, wchar_t ** __restrict__ endptr, int base); | ||
| 125 | extern unsigned long long __attribute__ ((alias (__MINGW64_STRINGIFY(__MINGW_IMP_SYMBOL(wcstoumax))))) | ||
| 126 | (__cdecl *__MINGW_IMP_SYMBOL(_wcstoui64))(const wchar_t * __restrict__, wchar_t ** __restrict__, int); | ||
lib/libc/mingw/misc/wctob.c deleted-29| ... | @@ -1,29 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #ifndef WIN32_LEAN_AND_MEAN | ||
| 7 | #define WIN32_LEAN_AND_MEAN | ||
| 8 | #endif | ||
| 9 | #include "mb_wc_common.h" | ||
| 10 | #include <wchar.h> | ||
| 11 | #include <stdio.h> | ||
| 12 | #include <stdlib.h> | ||
| 13 | #include <errno.h> | ||
| 14 | #include <windows.h> | ||
| 15 | |||
| 16 | /* Return just the first byte after translating to multibyte. */ | ||
| 17 | int wctob (wint_t wc ) | ||
| 18 | { | ||
| 19 | wchar_t w = wc; | ||
| 20 | char c; | ||
| 21 | int invalid_char = 0; | ||
| 22 | if (!WideCharToMultiByte (___lc_codepage_func(), | ||
| 23 | 			 0 /* Is this correct flag? */, | ||
| 24 | 			 &w, 1, &c, 1, NULL, &invalid_char) | ||
| 25 | 	 || invalid_char) | ||
| 26 | return EOF; | ||
| 27 | |||
| 28 | return (unsigned char) c; | ||
| 29 | } | ||
lib/libc/mingw/misc/winbs_uint64.c deleted-6| ... | @@ -1,6 +0,0 @@ | ||
| 1 | unsigned long long __cdecl _byteswap_uint64(unsigned long long _Int64); | ||
| 2 | |||
| 3 | unsigned long long __cdecl _byteswap_uint64(unsigned long long _Int64) | ||
| 4 | { | ||
| 5 | return __builtin_bswap64(_Int64); | ||
| 6 | } | ||
lib/libc/mingw/misc/winbs_ulong.c deleted-6| ... | @@ -1,6 +0,0 @@ | ||
| 1 | unsigned long __cdecl _byteswap_ulong (unsigned long _Long); | ||
| 2 | |||
| 3 | unsigned long __cdecl _byteswap_ulong (unsigned long _Long) | ||
| 4 | { | ||
| 5 | return __builtin_bswap32(_Long); | ||
| 6 | } | ||
lib/libc/mingw/misc/winbs_ushort.c deleted-6| ... | @@ -1,6 +0,0 @@ | ||
| 1 | unsigned short __cdecl _byteswap_ushort(unsigned short _Short); | ||
| 2 | |||
| 3 | unsigned short __cdecl _byteswap_ushort(unsigned short _Short) | ||
| 4 | { | ||
| 5 | return __builtin_bswap16(_Short); | ||
| 6 | } | ||
lib/libc/mingw/stdio/_Exit.c deleted-10| ... | @@ -1,10 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | #define __CRT__NO_INLINE | ||
| 7 | #include <stdlib.h> | ||
| 8 | |||
| 9 | void _Exit(int status) | ||
| 10 | 	{ _exit(status); } | ||
lib/libc/mingw/stdio/_findfirst64i32.c deleted-21| ... | @@ -1,21 +0,0 @@ | ||
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <io.h> | ||
| 3 | #include <string.h> | ||
| 4 | |||
| 5 | intptr_t __cdecl _findfirst64i32(const char *_Filename,struct _finddata64i32_t *_FindData) | ||
| 6 | { | ||
| 7 | struct __finddata64_t fd; | ||
| 8 | intptr_t ret = _findfirst64(_Filename,&fd); | ||
| 9 | if (ret == -1) { | ||
| 10 | *_FindData = (struct _finddata64i32_t){0}; | ||
| 11 | return -1; | ||
| 12 | } | ||
| 13 | _FindData->attrib=fd.attrib; | ||
| 14 | _FindData->time_create=fd.time_create; | ||
| 15 | _FindData->time_access=fd.time_access; | ||
| 16 | _FindData->time_write=fd.time_write; | ||
| 17 | _FindData->size=(_fsize_t) fd.size; | ||
| 18 | strncpy(_FindData->name,fd.name,260); | ||
| 19 | return ret; | ||
| 20 | } | ||
| 21 | |||
lib/libc/mingw/stdio/_findnext64i32.c deleted-21| ... | @@ -1,21 +0,0 @@ | ||
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <io.h> | ||
| 3 | #include <string.h> | ||
| 4 | |||
| 5 | int __cdecl _findnext64i32(intptr_t _FindHandle,struct _finddata64i32_t *_FindData) | ||
| 6 | { | ||
| 7 | struct __finddata64_t fd; | ||
| 8 | int ret = _findnext64(_FindHandle,&fd); | ||
| 9 | if (ret == -1) { | ||
| 10 | *_FindData = (struct _finddata64i32_t){0}; | ||
| 11 | return -1; | ||
| 12 | } | ||
| 13 | _FindData->attrib=fd.attrib; | ||
| 14 | _FindData->time_create=fd.time_create; | ||
| 15 | _FindData->time_access=fd.time_access; | ||
| 16 | _FindData->time_write=fd.time_write; | ||
| 17 | _FindData->size=(_fsize_t) fd.size; | ||
| 18 | strncpy(_FindData->name,fd.name,260); | ||
| 19 | return ret; | ||
| 20 | } | ||
| 21 | |||
lib/libc/mingw/stdio/_fstat64i32.c deleted-37| ... | @@ -1,37 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <sys/stat.h> | ||
| 8 | |||
| 9 | /* When the file size does not fit into the st_size field: | ||
| 10 | * crtdll-msvcr90 msvcr100 msvcr110+ | ||
| 11 | * st_size truncate 0 0 | ||
| 12 | * errno no change no change EOVERFLOW | ||
| 13 | * returns 0 -1 -1 | ||
| 14 | * | ||
| 15 | * This file is used only for pre-msvcr80 builds, | ||
| 16 | * So use the pre-msvcr80 behavior - truncate without error. | ||
| 17 | */ | ||
| 18 | int __cdecl _fstat64i32(int _FileDes,struct _stat64i32 *_Stat) | ||
| 19 | { | ||
| 20 | struct _stat64 st; | ||
| 21 | int ret=_fstat64(_FileDes,&st); | ||
| 22 | if (ret != 0) | ||
| 23 | return ret; | ||
| 24 | _Stat->st_dev=st.st_dev; | ||
| 25 | _Stat->st_ino=st.st_ino; | ||
| 26 | _Stat->st_mode=st.st_mode; | ||
| 27 | _Stat->st_nlink=st.st_nlink; | ||
| 28 | _Stat->st_uid=st.st_uid; | ||
| 29 | _Stat->st_gid=st.st_gid; | ||
| 30 | _Stat->st_rdev=st.st_rdev; | ||
| 31 | _Stat->st_size=(_off_t) st.st_size; /* truncate 64-bit st_size to 32-bit */ | ||
| 32 | _Stat->st_atime=st.st_atime; | ||
| 33 | _Stat->st_mtime=st.st_mtime; | ||
| 34 | _Stat->st_ctime=st.st_ctime; | ||
| 35 | return 0; | ||
| 36 | } | ||
| 37 | int (__cdecl *__MINGW_IMP_SYMBOL(_fstat64i32))(int, struct _stat64i32 *) = _fstat64i32; | ||
lib/libc/mingw/stdio/_stat64i32.c deleted-37| ... | @@ -1,37 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <sys/stat.h> | ||
| 8 | |||
| 9 | /* When the file size does not fit into the st_size field: | ||
| 10 | * crtdll-msvcr90 msvcr100 msvcr110+ | ||
| 11 | * st_size truncate 0 0 | ||
| 12 | * errno no change no change EOVERFLOW | ||
| 13 | * returns 0 -1 -1 | ||
| 14 | * | ||
| 15 | * This file is used only for pre-msvcr80 builds, | ||
| 16 | * So use the pre-msvcr80 behavior - truncate without error. | ||
| 17 | */ | ||
| 18 | int __cdecl _stat64i32(const char *_Name,struct _stat64i32 *_Stat) | ||
| 19 | { | ||
| 20 | struct _stat64 st; | ||
| 21 | int ret=_stat64(_Name,&st); | ||
| 22 | if (ret != 0) | ||
| 23 | return ret; | ||
| 24 | _Stat->st_dev=st.st_dev; | ||
| 25 | _Stat->st_ino=st.st_ino; | ||
| 26 | _Stat->st_mode=st.st_mode; | ||
| 27 | _Stat->st_nlink=st.st_nlink; | ||
| 28 | _Stat->st_uid=st.st_uid; | ||
| 29 | _Stat->st_gid=st.st_gid; | ||
| 30 | _Stat->st_rdev=st.st_rdev; | ||
| 31 | _Stat->st_size=(_off_t) st.st_size; /* truncate 64-bit st_size to 32-bit */ | ||
| 32 | _Stat->st_atime=st.st_atime; | ||
| 33 | _Stat->st_mtime=st.st_mtime; | ||
| 34 | _Stat->st_ctime=st.st_ctime; | ||
| 35 | return 0; | ||
| 36 | } | ||
| 37 | int (__cdecl *__MINGW_IMP_SYMBOL(_stat64i32))(const char *, struct _stat64i32 *) = _stat64i32; | ||
lib/libc/mingw/stdio/_wfindfirst64i32.c deleted-21| ... | @@ -1,21 +0,0 @@ | ||
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <io.h> | ||
| 3 | #include <string.h> | ||
| 4 | |||
| 5 | intptr_t __cdecl _wfindfirst64i32(const wchar_t *_Filename,struct _wfinddata64i32_t *_FindData) | ||
| 6 | { | ||
| 7 | struct _wfinddata64_t fd; | ||
| 8 | intptr_t ret = _wfindfirst64(_Filename,&fd); | ||
| 9 | if (ret == -1) { | ||
| 10 | *_FindData = (struct _wfinddata64i32_t){0}; | ||
| 11 | return -1; | ||
| 12 | } | ||
| 13 | _FindData->attrib=fd.attrib; | ||
| 14 | _FindData->time_create=fd.time_create; | ||
| 15 | _FindData->time_access=fd.time_access; | ||
| 16 | _FindData->time_write=fd.time_write; | ||
| 17 | _FindData->size=(_fsize_t) fd.size; | ||
| 18 | memcpy(_FindData->name,fd.name,260*sizeof(wchar_t)); | ||
| 19 | return ret; | ||
| 20 | } | ||
| 21 | |||
lib/libc/mingw/stdio/_wfindnext64i32.c deleted-21| ... | @@ -1,21 +0,0 @@ | ||
| 1 | #define __CRT__NO_INLINE | ||
| 2 | #include <io.h> | ||
| 3 | #include <string.h> | ||
| 4 | |||
| 5 | int __cdecl _wfindnext64i32(intptr_t _FindHandle,struct _wfinddata64i32_t *_FindData) | ||
| 6 | { | ||
| 7 | struct _wfinddata64_t fd; | ||
| 8 | int ret = _wfindnext64(_FindHandle,&fd); | ||
| 9 | if (ret == -1) { | ||
| 10 | *_FindData = (struct _wfinddata64i32_t){0}; | ||
| 11 | return -1; | ||
| 12 | } | ||
| 13 | _FindData->attrib=fd.attrib; | ||
| 14 | _FindData->time_create=fd.time_create; | ||
| 15 | _FindData->time_access=fd.time_access; | ||
| 16 | _FindData->time_write=fd.time_write; | ||
| 17 | _FindData->size=(_fsize_t) fd.size; | ||
| 18 | memcpy(_FindData->name,fd.name,260*sizeof(wchar_t)); | ||
| 19 | return ret; | ||
| 20 | } | ||
| 21 | |||
lib/libc/mingw/stdio/_wstat64i32.c deleted-37| ... | @@ -1,37 +0,0 @@ | ||
| 1 | /** | ||
| 2 | * This file has no copyright assigned and is placed in the Public Domain. | ||
| 3 | * This file is part of the mingw-w64 runtime package. | ||
| 4 | * No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
| 5 | */ | ||
| 6 | |||
| 7 | #include <sys/stat.h> | ||
| 8 | |||
| 9 | /* When the file size does not fit into the st_size field: | ||
| 10 | * crtdll-msvcr90 msvcr100 msvcr110+ | ||
| 11 | * st_size truncate 0 0 | ||
| 12 | * errno no change no change EOVERFLOW | ||
| 13 | * returns 0 -1 -1 | ||
| 14 | * | ||
| 15 | * This file is used only for pre-msvcr80 builds, | ||
| 16 | * So use the pre-msvcr80 behavior - truncate without error. | ||
| 17 | */ | ||
| 18 | int __cdecl _wstat64i32(const wchar_t *_Name,struct _stat64i32 *_Stat) | ||
| 19 | { | ||
| 20 | struct _stat64 st; | ||
| 21 | int ret=_wstat64(_Name,&st); | ||
| 22 | if (ret != 0) | ||
| 23 | return ret; | ||
| 24 | _Stat->st_dev=st.st_dev; | ||
| 25 | _Stat->st_ino=st.st_ino; | ||
| 26 | _Stat->st_mode=st.st_mode; | ||
| 27 | _Stat->st_nlink=st.st_nlink; | ||
| 28 | _Stat->st_uid=st.st_uid; | ||
| 29 | _Stat->st_gid=st.st_gid; | ||
| 30 | _Stat->st_rdev=st.st_rdev; | ||
| 31 | _Stat->st_size=(_off_t) st.st_size; /* truncate 64-bit st_size to 32-bit */ | ||
| 32 | _Stat->st_atime=st.st_atime; | ||
| 33 | _Stat->st_mtime=st.st_mtime; | ||
| 34 | _Stat->st_ctime=st.st_ctime; | ||
| 35 | return 0; | ||
| 36 | } | ||
| 37 | int (__cdecl *__MINGW_IMP_SYMBOL(_wstat64i32))(const wchar_t *, struct _stat64i32 *) = _wstat64i32; | ||
lib/libc/musl/src/legacy/valloc.c deleted-8| ... | @@ -1,8 +0,0 @@ | ||
| 1 | #define _BSD_SOURCE | ||
| 2 | #include <stdlib.h> | ||
| 3 | #include "libc.h" | ||
| 4 | |||
| 5 | void *valloc(size_t size) | ||
| 6 | { | ||
| 7 | 	return memalign(PAGE_SIZE, size); | ||
| 8 | } | ||
lib/libc/wasi/libc-bottom-half/sources/reallocarray.c deleted-14| ... | @@ -1,14 +0,0 @@ | ||
| 1 | #include <stdlib.h> | ||
| 2 | #include <errno.h> | ||
| 3 | |||
| 4 | void *__reallocarray(void *ptr, size_t nmemb, size_t size) { | ||
| 5 | size_t bytes; | ||
| 6 | if (__builtin_umull_overflow(nmemb, size, &bytes)) { | ||
| 7 | errno = ENOMEM; | ||
| 8 | return NULL; | ||
| 9 | } | ||
| 10 | return realloc(ptr, bytes); | ||
| 11 | } | ||
| 12 | |||
| 13 | void *reallocarray(void *ptr, size_t nmemb, size_t size) | ||
| 14 | __attribute__((__weak__, __alias__("__reallocarray"))); | ||
src/libs/mingw.zig+19-111| ... | @@ -115,7 +115,7 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre | ... | @@ -115,7 +115,7 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre |
| 115 | }); | 115 | }); |
| 116 | } | 116 | } |
| 117 | } | 117 | } |
| 118 | } else if (target.cpu.arch == .thumb) { | 118 | } else if (target.cpu.arch == .thumb or target.cpu.arch == .aarch64) { |
| 119 | for (mingw32_arm_src) |dep| { | 119 | for (mingw32_arm_src) |dep| { |
| 120 | try c_source_files.append(.{ | 120 | try c_source_files.append(.{ |
| 121 | .src_path = try comp.dirs.zig_lib.join(arena, &.{ | 121 | .src_path = try comp.dirs.zig_lib.join(arena, &.{ |
| ... | @@ -125,34 +125,6 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre | ... | @@ -125,34 +125,6 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre |
| 125 | .owner = undefined, | 125 | .owner = undefined, |
| 126 | }); | 126 | }); |
| 127 | } | 127 | } |
| 128 | for (mingw32_arm32_src) |dep| { | ||
| 129 | try c_source_files.append(.{ | ||
| 130 | .src_path = try comp.dirs.zig_lib.join(arena, &.{ | ||
| 131 | "libc", "mingw", dep, | ||
| 132 | }), | ||
| 133 | .extra_flags = crt_args.items, | ||
| 134 | .owner = undefined, | ||
| 135 | }); | ||
| 136 | } | ||
| 137 | } else if (target.cpu.arch == .aarch64) { | ||
| 138 | for (mingw32_arm_src) |dep| { | ||
| 139 | try c_source_files.append(.{ | ||
| 140 | .src_path = try comp.dirs.zig_lib.join(arena, &.{ | ||
| 141 | "libc", "mingw", dep, | ||
| 142 | }), | ||
| 143 | .extra_flags = crt_args.items, | ||
| 144 | .owner = undefined, | ||
| 145 | }); | ||
| 146 | } | ||
| 147 | for (mingw32_arm64_src) |dep| { | ||
| 148 | try c_source_files.append(.{ | ||
| 149 | .src_path = try comp.dirs.zig_lib.join(arena, &.{ | ||
| 150 | "libc", "mingw", dep, | ||
| 151 | }), | ||
| 152 | .extra_flags = crt_args.items, | ||
| 153 | .owner = undefined, | ||
| 154 | }); | ||
| 155 | } | ||
| 156 | } else { | 128 | } else { |
| 157 | @panic("unsupported arch"); | 129 | @panic("unsupported arch"); |
| 158 | } | 130 | } |
| ... | @@ -537,57 +509,6 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -537,57 +509,6 @@ const mingw32_generic_src = [_][]const u8{ |
| 537 | // mingwex | 509 | // mingwex |
| 538 | "cfguard" ++ path.sep_str ++ "mingw_cfguard_support.c", | 510 | "cfguard" ++ path.sep_str ++ "mingw_cfguard_support.c", |
| 539 | "complex" ++ path.sep_str ++ "_cabs.c", | 511 | "complex" ++ path.sep_str ++ "_cabs.c", |
| 540 | "complex" ++ path.sep_str ++ "cabs.c", | ||
| 541 | "complex" ++ path.sep_str ++ "cabsf.c", | ||
| 542 | "complex" ++ path.sep_str ++ "cabsl.c", | ||
| 543 | "complex" ++ path.sep_str ++ "cacos.c", | ||
| 544 | "complex" ++ path.sep_str ++ "cacosf.c", | ||
| 545 | "complex" ++ path.sep_str ++ "cacosl.c", | ||
| 546 | "complex" ++ path.sep_str ++ "carg.c", | ||
| 547 | "complex" ++ path.sep_str ++ "cargf.c", | ||
| 548 | "complex" ++ path.sep_str ++ "cargl.c", | ||
| 549 | "complex" ++ path.sep_str ++ "casin.c", | ||
| 550 | "complex" ++ path.sep_str ++ "casinf.c", | ||
| 551 | "complex" ++ path.sep_str ++ "casinl.c", | ||
| 552 | "complex" ++ path.sep_str ++ "catan.c", | ||
| 553 | "complex" ++ path.sep_str ++ "catanf.c", | ||
| 554 | "complex" ++ path.sep_str ++ "catanl.c", | ||
| 555 | "complex" ++ path.sep_str ++ "ccos.c", | ||
| 556 | "complex" ++ path.sep_str ++ "ccosf.c", | ||
| 557 | "complex" ++ path.sep_str ++ "ccosl.c", | ||
| 558 | "complex" ++ path.sep_str ++ "cexp.c", | ||
| 559 | "complex" ++ path.sep_str ++ "cexpf.c", | ||
| 560 | "complex" ++ path.sep_str ++ "cexpl.c", | ||
| 561 | "complex" ++ path.sep_str ++ "cimag.c", | ||
| 562 | "complex" ++ path.sep_str ++ "cimagf.c", | ||
| 563 | "complex" ++ path.sep_str ++ "cimagl.c", | ||
| 564 | "complex" ++ path.sep_str ++ "clog.c", | ||
| 565 | "complex" ++ path.sep_str ++ "clog10.c", | ||
| 566 | "complex" ++ path.sep_str ++ "clog10f.c", | ||
| 567 | "complex" ++ path.sep_str ++ "clog10l.c", | ||
| 568 | "complex" ++ path.sep_str ++ "clogf.c", | ||
| 569 | "complex" ++ path.sep_str ++ "clogl.c", | ||
| 570 | "complex" ++ path.sep_str ++ "conj.c", | ||
| 571 | "complex" ++ path.sep_str ++ "conjf.c", | ||
| 572 | "complex" ++ path.sep_str ++ "conjl.c", | ||
| 573 | "complex" ++ path.sep_str ++ "cpow.c", | ||
| 574 | "complex" ++ path.sep_str ++ "cpowf.c", | ||
| 575 | "complex" ++ path.sep_str ++ "cpowl.c", | ||
| 576 | "complex" ++ path.sep_str ++ "cproj.c", | ||
| 577 | "complex" ++ path.sep_str ++ "cprojf.c", | ||
| 578 | "complex" ++ path.sep_str ++ "cprojl.c", | ||
| 579 | "complex" ++ path.sep_str ++ "creal.c", | ||
| 580 | "complex" ++ path.sep_str ++ "crealf.c", | ||
| 581 | "complex" ++ path.sep_str ++ "creall.c", | ||
| 582 | "complex" ++ path.sep_str ++ "csin.c", | ||
| 583 | "complex" ++ path.sep_str ++ "csinf.c", | ||
| 584 | "complex" ++ path.sep_str ++ "csinl.c", | ||
| 585 | "complex" ++ path.sep_str ++ "csqrt.c", | ||
| 586 | "complex" ++ path.sep_str ++ "csqrtf.c", | ||
| 587 | "complex" ++ path.sep_str ++ "csqrtl.c", | ||
| 588 | "complex" ++ path.sep_str ++ "ctan.c", | ||
| 589 | "complex" ++ path.sep_str ++ "ctanf.c", | ||
| 590 | "complex" ++ path.sep_str ++ "ctanl.c", | ||
| 591 | "gdtoa" ++ path.sep_str ++ "arithchk.c", | 512 | "gdtoa" ++ path.sep_str ++ "arithchk.c", |
| 592 | "gdtoa" ++ path.sep_str ++ "dmisc.c", | 513 | "gdtoa" ++ path.sep_str ++ "dmisc.c", |
| 593 | "gdtoa" ++ path.sep_str ++ "dtoa.c", | 514 | "gdtoa" ++ path.sep_str ++ "dtoa.c", |
| ... | @@ -627,7 +548,6 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -627,7 +548,6 @@ const mingw32_generic_src = [_][]const u8{ |
| 627 | "math" ++ path.sep_str ++ "sinhl.c", | 548 | "math" ++ path.sep_str ++ "sinhl.c", |
| 628 | "math" ++ path.sep_str ++ "tanhl.c", | 549 | "math" ++ path.sep_str ++ "tanhl.c", |
| 629 | "misc" ++ path.sep_str ++ "alarm.c", | 550 | "misc" ++ path.sep_str ++ "alarm.c", |
| 630 | "misc" ++ path.sep_str ++ "btowc.c", | ||
| 631 | "misc" ++ path.sep_str ++ "delay-f.c", | 551 | "misc" ++ path.sep_str ++ "delay-f.c", |
| 632 | "misc" ++ path.sep_str ++ "delay-n.c", | 552 | "misc" ++ path.sep_str ++ "delay-n.c", |
| 633 | "misc" ++ path.sep_str ++ "delayimp.c", | 553 | "misc" ++ path.sep_str ++ "delayimp.c", |
| ... | @@ -674,23 +594,7 @@ const mingw32_generic_src = [_][]const u8{ | ... | @@ -674,23 +594,7 @@ const mingw32_generic_src = [_][]const u8{ |
| 674 | "misc" ++ path.sep_str ++ "tfind.c", | 594 | "misc" ++ path.sep_str ++ "tfind.c", |
| 675 | "misc" ++ path.sep_str ++ "tsearch.c", | 595 | "misc" ++ path.sep_str ++ "tsearch.c", |
| 676 | "misc" ++ path.sep_str ++ "twalk.c", | 596 | "misc" ++ path.sep_str ++ "twalk.c", |
| 677 | "misc" ++ path.sep_str ++ "wcstof.c", | ||
| 678 | "misc" ++ path.sep_str ++ "wcstoimax.c", | ||
| 679 | "misc" ++ path.sep_str ++ "wcstold.c", | ||
| 680 | "misc" ++ path.sep_str ++ "wcstoumax.c", | ||
| 681 | "misc" ++ path.sep_str ++ "wctob.c", | ||
| 682 | "misc" ++ path.sep_str ++ "wdirent.c", | 597 | "misc" ++ path.sep_str ++ "wdirent.c", |
| 683 | "misc" ++ path.sep_str ++ "winbs_uint64.c", | ||
| 684 | "misc" ++ path.sep_str ++ "winbs_ulong.c", | ||
| 685 | "misc" ++ path.sep_str ++ "winbs_ushort.c", | ||
| 686 | "stdio" ++ path.sep_str ++ "_Exit.c", | ||
| 687 | "stdio" ++ path.sep_str ++ "_findfirst64i32.c", | ||
| 688 | "stdio" ++ path.sep_str ++ "_findnext64i32.c", | ||
| 689 | "stdio" ++ path.sep_str ++ "_fstat64i32.c", | ||
| 690 | "stdio" ++ path.sep_str ++ "_stat64i32.c", | ||
| 691 | "stdio" ++ path.sep_str ++ "_wfindfirst64i32.c", | ||
| 692 | "stdio" ++ path.sep_str ++ "_wfindnext64i32.c", | ||
| 693 | "stdio" ++ path.sep_str ++ "_wstat64i32.c", | ||
| 694 | "stdio" ++ path.sep_str ++ "__mingw_fix_stat_path.c", | 598 | "stdio" ++ path.sep_str ++ "__mingw_fix_stat_path.c", |
| 695 | "stdio" ++ path.sep_str ++ "__mingw_fix_wstat_path.c", | 599 | "stdio" ++ path.sep_str ++ "__mingw_fix_wstat_path.c", |
| 696 | "stdio" ++ path.sep_str ++ "asprintf.c", | 600 | "stdio" ++ path.sep_str ++ "asprintf.c", |
| ... | @@ -922,6 +826,23 @@ const mingw32_x86_src = [_][]const u8{ | ... | @@ -922,6 +826,23 @@ const mingw32_x86_src = [_][]const u8{ |
| 922 | // mingw32 | 826 | // mingw32 |
| 923 | "crt" ++ path.sep_str ++ "CRT_fp10.c", | 827 | "crt" ++ path.sep_str ++ "CRT_fp10.c", |
| 924 | // mingwex | 828 | // mingwex |
| 829 | "complex" ++ path.sep_str ++ "cabsl.c", | ||
| 830 | "complex" ++ path.sep_str ++ "cacosl.c", | ||
| 831 | "complex" ++ path.sep_str ++ "cargl.c", | ||
| 832 | "complex" ++ path.sep_str ++ "casinl.c", | ||
| 833 | "complex" ++ path.sep_str ++ "catanl.c", | ||
| 834 | "complex" ++ path.sep_str ++ "ccosl.c", | ||
| 835 | "complex" ++ path.sep_str ++ "cexpl.c", | ||
| 836 | "complex" ++ path.sep_str ++ "cimagl.c", | ||
| 837 | "complex" ++ path.sep_str ++ "clog10l.c", | ||
| 838 | "complex" ++ path.sep_str ++ "clogl.c", | ||
| 839 | "complex" ++ path.sep_str ++ "conjl.c", | ||
| 840 | "complex" ++ path.sep_str ++ "cpowl.c", | ||
| 841 | "complex" ++ path.sep_str ++ "cprojl.c", | ||
| 842 | "complex" ++ path.sep_str ++ "creall.c", | ||
| 843 | "complex" ++ path.sep_str ++ "csinl.c", | ||
| 844 | "complex" ++ path.sep_str ++ "csqrtl.c", | ||
| 845 | "complex" ++ path.sep_str ++ "ctanl.c", | ||
| 925 | "math" ++ path.sep_str ++ "cbrtl.c", | 846 | "math" ++ path.sep_str ++ "cbrtl.c", |
| 926 | "math" ++ path.sep_str ++ "erfl.c", | 847 | "math" ++ path.sep_str ++ "erfl.c", |
| 927 | "math" ++ path.sep_str ++ "fdiml.c", | 848 | "math" ++ path.sep_str ++ "fdiml.c", |
| ... | @@ -939,7 +860,6 @@ const mingw32_x86_src = [_][]const u8{ | ... | @@ -939,7 +860,6 @@ const mingw32_x86_src = [_][]const u8{ |
| 939 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "asinl.c", | 860 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "asinl.c", |
| 940 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atan2l.c", | 861 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atan2l.c", |
| 941 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atanhl.c", | 862 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atanhl.c", |
| 942 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atanl.c", | ||
| 943 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "cossinl.c", | 863 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "cossinl.c", |
| 944 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "exp2l.S", | 864 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "exp2l.S", |
| 945 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "expl.c", | 865 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "expl.c", |
| ... | @@ -947,7 +867,6 @@ const mingw32_x86_src = [_][]const u8{ | ... | @@ -947,7 +867,6 @@ const mingw32_x86_src = [_][]const u8{ |
| 947 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "fucom.c", | 867 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "fucom.c", |
| 948 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "ilogbl.S", | 868 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "ilogbl.S", |
| 949 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "internal_logl.S", | 869 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "internal_logl.S", |
| 950 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "ldexp.c", | ||
| 951 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "ldexpl.c", | 870 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "ldexpl.c", |
| 952 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "log10l.S", | 871 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "log10l.S", |
| 953 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "log1pl.S", | 872 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "log1pl.S", |
| ... | @@ -958,9 +877,8 @@ const mingw32_x86_src = [_][]const u8{ | ... | @@ -958,9 +877,8 @@ const mingw32_x86_src = [_][]const u8{ |
| 958 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "powl.c", | 877 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "powl.c", |
| 959 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "remainderl.S", | 878 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "remainderl.S", |
| 960 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "remquol.S", | 879 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "remquol.S", |
| 961 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "scalbn.S", | ||
| 962 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "scalbnf.S", | ||
| 963 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "scalbnl.S", | 880 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "scalbnl.S", |
| 881 | "misc" ++ path.sep_str ++ "wcstold.c", | ||
| 964 | // ucrtbase | 882 | // ucrtbase |
| 965 | "math" ++ path.sep_str ++ "nextafterl.c", | 883 | "math" ++ path.sep_str ++ "nextafterl.c", |
| 966 | "math" ++ path.sep_str ++ "nexttoward.c", | 884 | "math" ++ path.sep_str ++ "nexttoward.c", |
| ... | @@ -971,10 +889,8 @@ const mingw32_x86_32_src = [_][]const u8{ | ... | @@ -971,10 +889,8 @@ const mingw32_x86_32_src = [_][]const u8{ |
| 971 | // ucrtbase | 889 | // ucrtbase |
| 972 | "math" ++ path.sep_str ++ "powf.c", | 890 | "math" ++ path.sep_str ++ "powf.c", |
| 973 | "math" ++ path.sep_str ++ "sinhf.c", | 891 | "math" ++ path.sep_str ++ "sinhf.c", |
| 974 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "acosf.c", | ||
| 975 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "asinf.c", | 892 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "asinf.c", |
| 976 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atan2f.c", | 893 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atan2f.c", |
| 977 | "math" ++ path.sep_str ++ "x86" ++ path.sep_str ++ "atanf.c", | ||
| 978 | }; | 894 | }; |
| 979 | 895 | ||
| 980 | const mingw32_arm_src = [_][]const u8{ | 896 | const mingw32_arm_src = [_][]const u8{ |
| ... | @@ -982,14 +898,6 @@ const mingw32_arm_src = [_][]const u8{ | ... | @@ -982,14 +898,6 @@ const mingw32_arm_src = [_][]const u8{ |
| 982 | "math" ++ path.sep_str ++ "arm-common" ++ path.sep_str ++ "ldexpl.c", | 898 | "math" ++ path.sep_str ++ "arm-common" ++ path.sep_str ++ "ldexpl.c", |
| 983 | }; | 899 | }; |
| 984 | 900 | ||
| 985 | const mingw32_arm32_src = [_][]const u8{ | ||
| 986 | // mingwex | ||
| 987 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "s_rint.c", | ||
| 988 | "math" ++ path.sep_str ++ "arm" ++ path.sep_str ++ "s_rintf.c", | ||
| 989 | }; | ||
| 990 | |||
| 991 | const mingw32_arm64_src = [_][]const u8{}; | ||
| 992 | |||
| 993 | const mingw32_winpthreads_src = [_][]const u8{ | 901 | const mingw32_winpthreads_src = [_][]const u8{ |
| 994 | // winpthreads | 902 | // winpthreads |
| 995 | "winpthreads" ++ path.sep_str ++ "barrier.c", | 903 | "winpthreads" ++ path.sep_str ++ "barrier.c", |
src/libs/musl.zig-1| ... | @@ -694,7 +694,6 @@ const src_files = [_][]const u8{ | ... | @@ -694,7 +694,6 @@ const src_files = [_][]const u8{ |
| 694 | "musl/src/legacy/lutimes.c", | 694 | "musl/src/legacy/lutimes.c", |
| 695 | "musl/src/legacy/ulimit.c", | 695 | "musl/src/legacy/ulimit.c", |
| 696 | "musl/src/legacy/utmpx.c", | 696 | "musl/src/legacy/utmpx.c", |
| 697 | "musl/src/legacy/valloc.c", | ||
| 698 | "musl/src/linux/adjtime.c", | 697 | "musl/src/linux/adjtime.c", |
| 699 | "musl/src/linux/adjtimex.c", | 698 | "musl/src/linux/adjtimex.c", |
| 700 | "musl/src/linux/arch_prctl.c", | 699 | "musl/src/linux/arch_prctl.c", |
src/libs/wasi_libc.zig-1| ... | @@ -530,7 +530,6 @@ const libc_bottom_half_src_files = [_][]const u8{ | ... | @@ -530,7 +530,6 @@ const libc_bottom_half_src_files = [_][]const u8{ |
| 530 | "wasi/libc-bottom-half/sources/math/math-builtins.c", | 530 | "wasi/libc-bottom-half/sources/math/math-builtins.c", |
| 531 | "wasi/libc-bottom-half/sources/posix.c", | 531 | "wasi/libc-bottom-half/sources/posix.c", |
| 532 | "wasi/libc-bottom-half/sources/preopens.c", | 532 | "wasi/libc-bottom-half/sources/preopens.c", |
| 533 | "wasi/libc-bottom-half/sources/reallocarray.c", | ||
| 534 | "wasi/libc-bottom-half/sources/sbrk.c", | 533 | "wasi/libc-bottom-half/sources/sbrk.c", |
| 535 | "wasi/libc-bottom-half/sources/truncate.c", | 534 | "wasi/libc-bottom-half/sources/truncate.c", |
| 536 | "wasi/libc-bottom-half/sources/__wasilibc_dt.c", | 535 | "wasi/libc-bottom-half/sources/__wasilibc_dt.c", |