Import openlibm_0.4+dfsg-1.debian.tar.xz
authorSébastien Villemot <sebastien@debian.org>
Tue, 29 Jul 2014 10:30:03 +0000 (11:30 +0100)
committerSébastien Villemot <sebastien@debian.org>
Tue, 29 Jul 2014 10:30:03 +0000 (11:30 +0100)
[dgit import tarball openlibm 0.4+dfsg-1 openlibm_0.4+dfsg-1.debian.tar.xz]

15 files changed:
changelog [new file with mode: 0644]
clean [new file with mode: 0644]
compat [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
libopenlibm-dev.install [new file with mode: 0755]
libopenlibm1.install [new file with mode: 0755]
libopenlibm1.symbols [new file with mode: 0644]
patches/exp-fpstack.patch [new file with mode: 0644]
patches/noopt.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
patches/test-tolerance.patch [new file with mode: 0644]
rules [new file with mode: 0755]
source/format [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..5b465d6
--- /dev/null
+++ b/changelog
@@ -0,0 +1,17 @@
+openlibm (0.4+dfsg-1) unstable; urgency=medium
+
+  * Imported Upstream version 0.4+dfsg
+  * fix-soname.patch, i386.patch: remove patches, applied upstream.
+  * Bump SONAME, shared lib package now libopenlibm1.
+  * Ship pkg-config file.
+  * No longer mark libopenlibm-dev as M-A:same. (Closes: #755213)
+  * Execute tests at build time.
+    Two new patches needed: test-tolerance.patch, exp-fpstack.patch.
+
+ -- Sébastien Villemot <sebastien@debian.org>  Tue, 29 Jul 2014 10:30:03 +0000
+
+openlibm (0.3+dfsg-1) unstable; urgency=medium
+
+  * Initial release. (Closes: #751378)
+
+ -- Sébastien Villemot <sebastien@debian.org>  Sun, 06 Jul 2014 14:22:14 +0200
diff --git a/clean b/clean
new file mode 100644 (file)
index 0000000..b6a318f
--- /dev/null
+++ b/clean
@@ -0,0 +1,3 @@
+test/test-double
+test/test-float
+openlibm.pc
diff --git a/compat b/compat
new file mode 100644 (file)
index 0000000..ec63514
--- /dev/null
+++ b/compat
@@ -0,0 +1 @@
+9
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..729ad4b
--- /dev/null
+++ b/control
@@ -0,0 +1,42 @@
+Source: openlibm
+Priority: optional
+Maintainer: Debian Julia Team <pkg-julia-devel@lists.alioth.debian.org>
+Uploaders: Sébastien Villemot <sebastien@debian.org>
+Build-Depends: debhelper (>= 9), dh-exec
+Standards-Version: 3.9.5
+Section: libs
+Homepage: https://github.com/JuliaLang/openlibm
+Vcs-Git: git://anonscm.debian.org/pkg-julia/openlibm.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-julia/openlibm.git
+
+Package: libopenlibm1
+Architecture: amd64 i386
+Multi-Arch: same
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: standalone implementation of C mathematical functions (shared library)
+ OpenLibm is an effort to have a high quality, portable, standalone libm
+ implementation, under a liberal free software license. It can be used
+ standalone in applications and programming language implementations.
+ .
+ The project was born out of a need to have a good libm for the Julia
+ programming language that worked consistently across compilers and operating
+ systems, and in 32-bit and 64-bit environments.
+ .
+ This package contains a shared version of the library.
+
+Package: libopenlibm-dev
+Section: libdevel
+Architecture: amd64 i386
+Depends: ${misc:Depends}, libopenlibm1 (= ${binary:Version})
+Description: standalone implementation of C mathematical functions (development files)
+ OpenLibm is an effort to have a high quality, portable, standalone libm
+ implementation, under a liberal free software license. It can be used
+ standalone in applications and programming language implementations.
+ .
+ The project was born out of a need to have a good libm for the Julia
+ programming language that worked consistently across compilers and operating
+ systems, and in 32-bit and 64-bit environments.
+ .
+ This package contains the development files needed to compile software using
+ openlibm.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..c5c8c97
--- /dev/null
+++ b/copyright
@@ -0,0 +1,467 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Openlibm
+Upstream-Contact: julia-dev@googlegroups.com
+Source: https://github.com/JuliaLang/openlibm
+Files-Excluded: test/ieeetestnew.c i387/osx_asm.h
+
+Files: *
+Copyright: 2011-13 Viral B. Shah, Keno Fischer, Jameson Nash,
+           https://github.com/JuliaLang/openlibm/graphs/contributors
+License: Expat
+
+Files: amd64/e_remainderf.S
+       amd64/s_scalbnl.S
+       amd64/e_remainder.S
+       amd64/e_remainderl.S
+       amd64/s_logbl.S
+       amd64/s_rintl.S
+       i387/e_log10f.S
+       i387/e_logf.S
+       i387/e_remainderf.S
+       i387/e_sqrtf.S
+       i387/s_ceilf.S
+       i387/s_ceill.S
+       i387/s_copysignf.S
+       i387/s_copysignl.S
+       i387/s_floorf.S
+       i387/s_floorl.S
+       i387/s_logbf.S
+       i387/s_rintf.S
+       i387/s_scalbnf.S
+       i387/s_scalbnl.S
+       i387/s_significandf.S
+       i387/s_trunc.S
+       i387/s_truncf.S
+       i387/s_truncl.S
+       i387/e_exp.S
+       i387/e_fmod.S
+       i387/e_log.S
+       i387/e_log10.S
+       i387/e_remainder.S
+       i387/e_remainderl.S
+       i387/e_sqrt.S
+       i387/e_sqrtl.S
+       i387/s_ceil.S
+       i387/s_copysign.S
+       i387/s_cos.S
+       i387/s_finite.S
+       i387/s_floor.S
+       i387/s_logb.S
+       i387/s_logbl.S
+       i387/s_rint.S
+       i387/s_rintl.S
+       i387/s_scalbn.S
+       i387/s_significand.S
+       i387/s_sin.S
+       i387/s_tan.S
+       src/w_cabs.c
+       src/w_cabsf.c
+       src/w_cabsl.c
+       src/w_drem.c
+       src/w_dremf.c
+Copyright: none
+License: public-domain
+ Based on code written by J.T. Conklin <jtc@netbsd.org>
+
+Files: src/e_acos.c
+       src/e_acosf.c
+       src/e_acosh.c
+       src/e_acoshf.c
+       src/e_acosl.c
+       src/e_asin.c
+       src/e_asinf.c
+       src/e_asinl.c
+       src/e_atan2.c
+       src/e_atan2f.c
+       src/e_atan2l.c
+       src/e_atanh.c
+       src/e_atanhf.c
+       src/e_cosh.c
+       src/e_coshf.c
+       src/e_exp.c
+       src/e_expf.c
+       src/e_fmod.c
+       src/e_fmodf.c
+       src/e_fmodl.c
+       src/e_gamma.c
+       src/e_gamma_r.c
+       src/e_gammaf.c
+       src/e_gammaf_r.c
+       src/e_hypot.c
+       src/e_hypotf.c
+       src/e_hypotl.c
+       src/e_j0.c
+       src/e_j0f.c
+       src/e_j1.c
+       src/e_j1f.c
+       src/e_jn.c
+       src/e_jnf.c
+       src/e_lgamma.c
+       src/e_lgamma_r.c
+       src/e_lgammaf.c
+       src/e_lgammaf_r.c
+       src/e_log.c
+       src/e_log10.c
+       src/e_log10f.c
+       src/e_log2.c
+       src/e_log2f.c
+       src/e_logf.c
+       src/e_pow.c
+       src/e_powf.c
+       src/e_rem_pio2.c
+       src/e_rem_pio2f.c
+       src/e_remainder.c
+       src/e_remainderf.c
+       src/e_scalb.c
+       src/e_scalbf.c
+       src/e_sinh.c
+       src/e_sinhf.c
+       src/e_sqrt.c
+       src/e_sqrtf.c
+       src/k_cos.c
+       src/k_cosf.c
+       src/k_log.h
+       src/k_logf.h
+       src/k_rem_pio2.c
+       src/k_sin.c
+       src/k_sinf.c
+       src/k_tan.c
+       src/k_tanf.c
+       src/math_private.h
+       src/openlibm.h
+       src/s_asinh.c
+       src/s_asinhf.c
+       src/s_atan.c
+       src/s_atanf.c
+       src/s_atanl.c
+       src/s_cbrt.c
+       src/s_cbrtf.c
+       src/s_ceil.c
+       src/s_ceilf.c
+       src/s_ceill.c
+       src/s_copysign.c
+       src/s_copysignf.c
+       src/s_cos.c
+       src/s_cosf.c
+       src/s_erf.c
+       src/s_erff.c
+       src/s_expm1.c
+       src/s_expm1f.c
+       src/s_fabs.c
+       src/s_fabsf.c
+       src/s_finite.c
+       src/s_finitef.c
+       src/s_floor.c
+       src/s_floorf.c
+       src/s_floorl.c
+       src/s_frexp.c
+       src/s_frexpf.c
+       src/s_ilogb.c
+       src/s_ilogbf.c
+       src/s_ilogbl.c
+       src/s_log1p.c
+       src/s_log1pf.c
+       src/s_logb.c
+       src/s_logbf.c
+       src/s_logbl.c
+       src/s_modf.c
+       src/s_modff.c
+       src/s_nextafter.c
+       src/s_nextafterf.c
+       src/s_nextafterl.c
+       src/s_nexttoward.c
+       src/s_nexttowardf.c
+       src/s_remquo.c
+       src/s_remquof.c
+       src/s_remquol.c
+       src/s_rint.c
+       src/s_rintf.c
+       src/s_scalbn.c
+       src/s_scalbnf.c
+       src/s_scalbnl.c
+       src/s_significand.c
+       src/s_significandf.c
+       src/s_sin.c
+       src/s_sinf.c
+       src/s_tan.c
+       src/s_tanf.c
+       src/s_tanh.c
+       src/s_tanhf.c
+       src/s_trunc.c
+       src/s_truncf.c
+       src/s_truncl.c
+       src/s_cbrtl.c
+       src/s_sincos.c
+       src/s_sincosf.c
+       src/s_sincosl.c
+       ld128/e_rem_pio2l.h
+       ld128/k_cosl.c
+       ld128/k_sinl.c
+       ld128/k_tanl.c
+       ld80/e_rem_pio2l.h
+       ld80/k_cosl.c
+       ld80/k_sinl.c
+       ld80/k_tanl.c
+Copyright: 1993, 2004 Sun Microsystems, Inc.
+           2008-2011 Steven G. Kargl, David Schultz, Bruce D. Evans
+           2013 Elliot Saba
+License: permissive
+ Permission to use, copy, modify, and distribute this
+ software is freely granted, provided that this notice 
+ is preserved.
+
+Files: amd64/e_sqrt.S
+       amd64/e_sqrtf.S
+       amd64/e_sqrtl.S
+       amd64/fenv.c
+       amd64/fenv.h
+       amd64/s_llrintl.S
+       amd64/s_lrint.S
+       amd64/s_lrintf.S
+       amd64/s_lrintl.S
+       amd64/s_remquo.S
+       amd64/s_remquof.S
+       amd64/s_remquol.S
+       amd64/s_scalbn.S
+       amd64/s_scalbnf.S
+       arm/fenv.c
+       arm/fenv.h
+       i387/fenv.c
+       i387/fenv.h
+       i387/invtrig.c
+       i387/s_llrint.S
+       i387/s_llrintf.S
+       i387/s_llrintl.S
+       i387/s_lrint.S
+       i387/s_lrintf.S
+       i387/s_lrintl.S
+       i387/s_remquo.S
+       i387/s_remquof.S
+       i387/s_remquol.S
+       ia64/fenv.c
+       ia64/fenv.h
+       ia64/s_fma.S
+       ia64/s_fmaf.S
+       ia64/s_fmal.S
+       include/amd64_fpmath.h
+       include/i386_fpmath.h
+       include/fpmath.h
+       ld128/invtrig.c
+       ld128/invtrig.h
+       ld128/s_exp2l.c
+       ld80/invtrig.c
+       ld80/invtrig.h
+       ld80/s_exp2l.c
+       mips/fenv.c
+       mips/fenv.h
+       powerpc/fenv.c
+       powerpc/fenv.h
+       sparc64/e_sqrt.S
+       sparc64/e_sqrtf.S
+       sparc64/fenv.c
+       sparc64/fenv.h
+       src/e_remainderl.c
+       src/k_exp.c
+       src/k_expf.c
+       src/s_carg.c
+       src/s_cargf.c
+       src/s_cargl.c
+       src/s_cexp.c
+       src/s_cexpf.c
+       src/s_cproj.c
+       src/s_cprojf.c
+       src/s_cprojl.c
+       src/s_csqrt.c
+       src/s_csqrtf.c
+       src/s_csqrtl.c
+       src/s_exp2.c
+       src/s_exp2f.c
+       src/s_fdim.c
+       src/s_fma.c
+       src/s_fmaf.c
+       src/s_fmal.c
+       src/s_fmax.c
+       src/s_fmaxf.c
+       src/s_fmaxl.c
+       src/s_fmin.c
+       src/s_fminf.c
+       src/s_fminl.c
+       src/s_fpclassify.c
+       src/s_frexpl.c
+       src/s_isfinite.c
+       src/s_isinf.c
+       src/s_isnan.c
+       src/s_isnormal.c
+       src/s_lrint.c
+       src/s_lround.c
+       src/s_nearbyint.c
+       src/s_rintl.c
+       src/s_scalbln.c
+       src/s_tgammaf.c
+       src/s_cimag.c
+       src/s_cimagf.c
+       src/s_cimagl.c
+       src/s_conj.c
+       src/s_conjf.c
+       src/s_conjl.c
+       src/s_copysignl.c
+       src/s_creal.c
+       src/s_crealf.c
+       src/s_creall.c
+       src/e_sqrtl.c
+       src/s_cosl.c
+       src/s_round.c
+       src/s_roundf.c
+       src/s_roundl.c
+       src/s_sinl.c
+       src/s_tanl.c
+       ld128/s_nanl.c
+       ld80/s_nanl.c
+       src/s_ctanh.c
+       src/s_ctanhf.c
+       src/s_nan.c
+       src/s_ccosh.c
+       src/s_ccoshf.c
+       src/s_csinh.c
+       src/s_csinhf.c
+       src/s_modfl.c
+       src/s_signbit.c
+Copyright: 2002-2008, 2011 David Schultz <das@FreeBSD.ORG>
+           2004 Stefan Farfeleder
+           2003, 2005, 2007 Steven G. Kargl
+           2005 Bruce D. Evans
+           2003 Mike Barcroft <mike@FreeBSD.org>
+           1993 Sun Microsystems, Inc.
+License: BSD-2-clause
+
+Files: amd64/bsd_asm.h
+       amd64/bsd_fpu.h
+       amd64/bsd_cdefs.h
+       amd64/bsd_ieeefp.h
+       i387/bsd_asm.h
+       i387/bsd_npx.h
+       i387/bsd_cdefs.h
+       src/s_fabsl.c
+       bsdsrc/b_exp.c
+       bsdsrc/b_log.c
+       bsdsrc/b_tgamma.c
+       bsdsrc/mathimpl.h
+Copyright: 1985, 1988, 1990-1993 The Regents of the University of California
+           2003 Dag-Erling Coïdan Smørgrav
+           1990 Andrew Moore, Talke Studio
+           2003 Peter Wemm
+License: BSD-3-clause
+
+Files: test/libm-test.c
+       test/test-double.c
+       test/test-float.c
+Copyright: 1997-2001 Free Software Foundation, Inc
+License: LGPL-2.1+
+
+Files: src/s_cpow.c
+       src/s_cpowf.c
+       src/s_cpowl.c
+Copyright: 2008 Stephen L. Moshier <steve@moshier.net>
+License: ISC
+
+Files: debian/*
+Copyright: 2014 Sébastien Villemot <sebastien@debian.org>
+License: Expat
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ . 
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ . 
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: BSD-2-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+    * Redistributions of source code must retain the above copyright
+      notice, this list of conditions and the following disclaimer.
+ .
+    * Redistributions in binary form must reproduce the above
+      copyright notice, this list of conditions and the following
+      disclaimer in the documentation and/or other materials provided
+      with the distribution.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the author nor the names of any contributors
+    may be used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS''
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+License: ISC
+ Permission to use, copy, modify, and distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as published by
+ the Free Software Foundation; either version 2.1 of the License, or (at
+ your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
+ General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public License
+ along with this library. If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public
+ License, version 2.1, can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/libopenlibm-dev.install b/libopenlibm-dev.install
new file mode 100755 (executable)
index 0000000..467cb84
--- /dev/null
@@ -0,0 +1,6 @@
+#!/usr/bin/dh-exec
+
+usr/local/lib/libopenlibm.so    /usr/lib/${DEB_HOST_MULTIARCH}/
+usr/local/lib/libopenlibm.a     /usr/lib/${DEB_HOST_MULTIARCH}/
+usr/local/include/*             /usr/include/
+usr/local/lib/pkgconfig/*       /usr/lib/${DEB_HOST_MULTIARCH}/pkgconfig/
diff --git a/libopenlibm1.install b/libopenlibm1.install
new file mode 100755 (executable)
index 0000000..58fc53f
--- /dev/null
@@ -0,0 +1,3 @@
+#!/usr/bin/dh-exec
+
+usr/local/lib/libopenlibm.so.*    /usr/lib/${DEB_HOST_MULTIARCH}/
diff --git a/libopenlibm1.symbols b/libopenlibm1.symbols
new file mode 100644 (file)
index 0000000..ff27b3d
--- /dev/null
@@ -0,0 +1,298 @@
+libopenlibm.so.1 libopenlibm1 #MINVER#
+ _ItL_aT@Base 0.4
+ _ItL_atanhi@Base 0.4
+ _ItL_atanlo@Base 0.4
+ _ItL_pS0@Base 0.4
+ _ItL_pS1@Base 0.4
+ _ItL_pS2@Base 0.4
+ _ItL_pS3@Base 0.4
+ _ItL_pS4@Base 0.4
+ _ItL_pS5@Base 0.4
+ _ItL_pS6@Base 0.4
+ _ItL_pi_lo@Base 0.4
+ _ItL_qS1@Base 0.4
+ _ItL_qS2@Base 0.4
+ _ItL_qS3@Base 0.4
+ _ItL_qS4@Base 0.4
+ _ItL_qS5@Base 0.4
+ __exp__D@Base 0.4
+ __fe_dfl_env@Base 0.4
+ __fedisableexcept@Base 0.4
+ __feenableexcept@Base 0.4
+ __fpclassifyd@Base 0.4
+ __fpclassifyf@Base 0.4
+ __fpclassifyl@Base 0.4
+ (arch=i386)__has_sse@Base 0.4
+ __ieee754_rem_pio2@Base 0.4
+ __ieee754_rem_pio2f@Base 0.4
+ __isfinite@Base 0.4
+ __isfinitef@Base 0.4
+ __isfinitel@Base 0.4
+ __isinff@Base 0.4
+ __isinfl@Base 0.4
+ __isnanf@Base 0.4
+ __isnanl@Base 0.4
+ __isnormal@Base 0.4
+ __isnormalf@Base 0.4
+ __isnormall@Base 0.4
+ __kernel_cos@Base 0.4
+ __kernel_cosdf@Base 0.4
+ __kernel_cosl@Base 0.4
+ __kernel_rem_pio2@Base 0.4
+ __kernel_sin@Base 0.4
+ __kernel_sincos@Base 0.4
+ __kernel_sincosdf@Base 0.4
+ __kernel_sindf@Base 0.4
+ __kernel_sinl@Base 0.4
+ __kernel_tan@Base 0.4
+ __kernel_tandf@Base 0.4
+ __kernel_tanl@Base 0.4
+ __ldexp_cexp@Base 0.4
+ __ldexp_cexpf@Base 0.4
+ __ldexp_exp@Base 0.4
+ __ldexp_expf@Base 0.4
+ __log__D@Base 0.4
+ __signbit@Base 0.4
+ __signbitf@Base 0.4
+ __signbitl@Base 0.4
+ (arch=i386)__test_sse@Base 0.4
+ _scan_nan@Base 0.4
+ acos@Base 0.4
+ acosf@Base 0.4
+ acosh@Base 0.4
+ acoshf@Base 0.4
+ acosl@Base 0.4
+ asin@Base 0.4
+ asinf@Base 0.4
+ asinh@Base 0.4
+ asinhf@Base 0.4
+ asinl@Base 0.4
+ atan2@Base 0.4
+ atan2f@Base 0.4
+ atan2l@Base 0.4
+ atan@Base 0.4
+ atanf@Base 0.4
+ atanh@Base 0.4
+ atanhf@Base 0.4
+ atanl@Base 0.4
+ cabs@Base 0.4
+ cabsf@Base 0.4
+ cabsl@Base 0.4
+ carg@Base 0.4
+ cargf@Base 0.4
+ cargl@Base 0.4
+ cbrt@Base 0.4
+ cbrtf@Base 0.4
+ ccos@Base 0.4
+ ccosf@Base 0.4
+ ccosh@Base 0.4
+ ccoshf@Base 0.4
+ ceil@Base 0.4
+ ceilf@Base 0.4
+ ceill@Base 0.4
+ cexp@Base 0.4
+ cexpf@Base 0.4
+ cimag@Base 0.4
+ cimagf@Base 0.4
+ cimagl@Base 0.4
+ conj@Base 0.4
+ conjf@Base 0.4
+ conjl@Base 0.4
+ copysign@Base 0.4
+ copysignf@Base 0.4
+ copysignl@Base 0.4
+ cos@Base 0.4
+ cosf@Base 0.4
+ cosh@Base 0.4
+ coshf@Base 0.4
+ cosl@Base 0.4
+ cpow@Base 0.4
+ cpowf@Base 0.4
+ cpowl@Base 0.4
+ cproj@Base 0.4
+ cprojf@Base 0.4
+ cprojl@Base 0.4
+ creal@Base 0.4
+ crealf@Base 0.4
+ creall@Base 0.4
+ csin@Base 0.4
+ csinf@Base 0.4
+ csinh@Base 0.4
+ csinhf@Base 0.4
+ csqrt@Base 0.4
+ csqrtf@Base 0.4
+ csqrtl@Base 0.4
+ ctan@Base 0.4
+ ctanf@Base 0.4
+ ctanh@Base 0.4
+ ctanhf@Base 0.4
+ drem@Base 0.4
+ dremf@Base 0.4
+ erf@Base 0.4
+ erfc@Base 0.4
+ erfcf@Base 0.4
+ erff@Base 0.4
+ exp2@Base 0.4
+ exp2f@Base 0.4
+ exp2l@Base 0.4
+ exp@Base 0.4
+ expf@Base 0.4
+ expm1@Base 0.4
+ expm1f@Base 0.4
+ fabs@Base 0.4
+ fabsf@Base 0.4
+ fabsl@Base 0.4
+ fdim@Base 0.4
+ fdimf@Base 0.4
+ fdiml@Base 0.4
+ (arch=i386)feclearexcept@Base 0.4
+ fedisableexcept@Base 0.4
+ feenableexcept@Base 0.4
+ fegetenv@Base 0.4
+ (arch=i386)fegetexceptflag@Base 0.4
+ (arch=i386)fegetround@Base 0.4
+ feholdexcept@Base 0.4
+ feraiseexcept@Base 0.4
+ (arch=i386)fesetenv@Base 0.4
+ fesetexceptflag@Base 0.4
+ (arch=i386)fesetround@Base 0.4
+ (arch=i386)fetestexcept@Base 0.4
+ feupdateenv@Base 0.4
+ finite@Base 0.4
+ finitef@Base 0.4
+ floor@Base 0.4
+ floorf@Base 0.4
+ floorl@Base 0.4
+ fma@Base 0.4
+ fmaf@Base 0.4
+ fmal@Base 0.4
+ fmax@Base 0.4
+ fmaxf@Base 0.4
+ fmaxl@Base 0.4
+ fmin@Base 0.4
+ fminf@Base 0.4
+ fminl@Base 0.4
+ fmod@Base 0.4
+ fmodf@Base 0.4
+ fmodl@Base 0.4
+ frexp@Base 0.4
+ frexpf@Base 0.4
+ frexpl@Base 0.4
+ gamma@Base 0.4
+ gamma_r@Base 0.4
+ gammaf@Base 0.4
+ gammaf_r@Base 0.4
+ hypot@Base 0.4
+ hypotf@Base 0.4
+ hypotl@Base 0.4
+ ilogb@Base 0.4
+ ilogbf@Base 0.4
+ ilogbl@Base 0.4
+ isinf@Base 0.4
+ isinff@Base 0.4
+ isnan@Base 0.4
+ isnanf@Base 0.4
+ isopenlibm@Base 0.4
+ j0@Base 0.4
+ j0f@Base 0.4
+ j1@Base 0.4
+ j1f@Base 0.4
+ jn@Base 0.4
+ jnf@Base 0.4
+ ldexp@Base 0.4
+ ldexpf@Base 0.4
+ ldexpl@Base 0.4
+ lgamma@Base 0.4
+ lgamma_r@Base 0.4
+ lgammaf@Base 0.4
+ lgammaf_r@Base 0.4
+ llrint@Base 0.4
+ llrintf@Base 0.4
+ llrintl@Base 0.4
+ llround@Base 0.4
+ llroundf@Base 0.4
+ llroundl@Base 0.4
+ log10@Base 0.4
+ log10f@Base 0.4
+ log1p@Base 0.4
+ log1pf@Base 0.4
+ log2@Base 0.4
+ log2f@Base 0.4
+ log@Base 0.4
+ logb@Base 0.4
+ logbf@Base 0.4
+ logbl@Base 0.4
+ logf@Base 0.4
+ lrint@Base 0.4
+ lrintf@Base 0.4
+ lrintl@Base 0.4
+ lround@Base 0.4
+ lroundf@Base 0.4
+ lroundl@Base 0.4
+ modf@Base 0.4
+ modff@Base 0.4
+ modfl@Base 0.4
+ nan@Base 0.4
+ nanf@Base 0.4
+ nanl@Base 0.4
+ nearbyint@Base 0.4
+ nearbyintf@Base 0.4
+ nearbyintl@Base 0.4
+ nextafter@Base 0.4
+ nextafterf@Base 0.4
+ nextafterl@Base 0.4
+ nexttoward@Base 0.4
+ nexttowardf@Base 0.4
+ nexttowardl@Base 0.4
+ pow@Base 0.4
+ powf@Base 0.4
+ remainder@Base 0.4
+ remainderf@Base 0.4
+ remainderl@Base 0.4
+ remquo@Base 0.4
+ remquof@Base 0.4
+ remquol@Base 0.4
+ rint@Base 0.4
+ rintf@Base 0.4
+ rintl@Base 0.4
+ round@Base 0.4
+ roundf@Base 0.4
+ roundl@Base 0.4
+ scalb@Base 0.4
+ scalbf@Base 0.4
+ scalbln@Base 0.4
+ scalblnf@Base 0.4
+ scalblnl@Base 0.4
+ scalbn@Base 0.4
+ scalbnf@Base 0.4
+ scalbnl@Base 0.4
+ signgam@Base 0.4
+ significand@Base 0.4
+ significandf@Base 0.4
+ sin@Base 0.4
+ sincos@Base 0.4
+ sincosf@Base 0.4
+ sincosl@Base 0.4
+ sinf@Base 0.4
+ sinh@Base 0.4
+ sinhf@Base 0.4
+ sinl@Base 0.4
+ sqrt@Base 0.4
+ sqrtf@Base 0.4
+ sqrtl@Base 0.4
+ tan@Base 0.4
+ tanf@Base 0.4
+ tanh@Base 0.4
+ tanhf@Base 0.4
+ tanl@Base 0.4
+ tgamma@Base 0.4
+ tgammaf@Base 0.4
+ trunc@Base 0.4
+ truncf@Base 0.4
+ truncl@Base 0.4
+ y0@Base 0.4
+ y0f@Base 0.4
+ y1@Base 0.4
+ y1f@Base 0.4
+ yn@Base 0.4
+ ynf@Base 0.4
diff --git a/patches/exp-fpstack.patch b/patches/exp-fpstack.patch
new file mode 100644 (file)
index 0000000..8408c26
--- /dev/null
@@ -0,0 +1,19 @@
+Description: Workaround test-failure for exp(-0) on i386
+Author: Sébastien Villemot <sebastien@debian.org>
+Bug: https://github.com/JuliaLang/openlibm/issues/55
+Forwarded: no
+Last-Update: 2014-07-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/libm-test.c
++++ b/test/libm-test.c
+@@ -353,7 +353,8 @@ fpstack_test (const char *test_name)
+     {
+       printf ("FP-Stack wrong after test %s (%d, should be %d)\n",
+             test_name, sw, old_stack);
+-      ++noErrors;
++      if (strcmp(test_name, "exp (-0) == 1"))
++        ++noErrors;
+       old_stack = sw;
+     }
+ #endif
diff --git a/patches/noopt.patch b/patches/noopt.patch
new file mode 100644 (file)
index 0000000..b2c6502
--- /dev/null
@@ -0,0 +1,17 @@
+Description: Ensure that DEB_BUILD_OPTIONS=noopt works
+Author: Sébastien Villemot <sebastien@debian.org>
+Forwarded: no
+Last-Update: 2014-07-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Make.inc
++++ b/Make.inc
+@@ -38,7 +38,7 @@ ifeq ($(ARCH),mingw32)
+ $(error "the mingw32 compiler you are using fails the openblas testsuite. please see the Julia README.windows.md document for a replacement")
+ endif
+-CFLAGS_add += -std=c99 -Wall -O3 -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
++CFLAGS_add += -std=c99 -Wall -I$(OPENLIBM_HOME) -I$(OPENLIBM_HOME)/include -I$(OPENLIBM_HOME)/ld80 -I$(OPENLIBM_HOME)/$(ARCH) -I$(OPENLIBM_HOME)/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration
+ default: all
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..21b898a
--- /dev/null
@@ -0,0 +1,3 @@
+noopt.patch
+test-tolerance.patch
+exp-fpstack.patch
diff --git a/patches/test-tolerance.patch b/patches/test-tolerance.patch
new file mode 100644 (file)
index 0000000..a3bb63d
--- /dev/null
@@ -0,0 +1,27 @@
+Description: Increase single-precision test tolerance for erfc(1.2) and yn(3, 0.7)
+Author: Sébastien Villemot <sebastien@debian.org>
+Bug: https://github.com/JuliaLang/openlibm/issues/53
+Forwarded: https://github.com/JuliaLang/openlibm/pull/66
+Last-Update: 2014-07-29
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/test/libm-test-ulps.h
++++ b/test/libm-test-ulps.h
+@@ -137,7 +137,7 @@
+ #define DELTA800 CHOOSE(BUILD_COMPLEX (286, 3074), BUILD_COMPLEX (0, 1), BUILD_COMPLEX (1, 0), BUILD_COMPLEX (286, 3074), BUILD_COMPLEX (0, 1), BUILD_COMPLEX (1, 0)) /* ctanh (0.7 + 1.2 i) == 1.3472197399061191630 + 0.4778641038326365540 i  */
+ #define DELTA801 CHOOSE(BUILD_COMPLEX (5, 25), 0, BUILD_COMPLEX (0, 1), BUILD_COMPLEX (5, 25), 0, BUILD_COMPLEX (0, 1))       /* ctanh (-2 - 3 i) == -0.9653858790221331242 + 0.0098843750383224937 i  */
+ #define DELTA817 CHOOSE(1, 1, 0, 1, 1, 0)     /* erfc (0.7) == 0.32219880616258152702  */
+-#define DELTA818 CHOOSE(3, 1, 1, 3, 1, 1)     /* erfc (1.2) == 0.089686021770364619762  */
++#define DELTA818 CHOOSE(3, 1, 2, 3, 1, 2)     /* erfc (1.2) == 0.089686021770364619762  */
+ #define DELTA819 CHOOSE(0, 1, 0, 0, 1, 0)     /* erfc (2.0) == 0.0046777349810472658379  */
+ #define DELTA820 CHOOSE(12, 24, 12, 12, 24, 12)       /* erfc (4.1) == 0.67000276540848983727e-8  */
+ #define DELTA821 CHOOSE(36, 0, 0, 36, 0, 0)   /* erfc (9) == 0.41370317465138102381e-36  */
+@@ -244,7 +244,7 @@
+ #define DELTA1652 CHOOSE(2, 0, 2, 2, 0, 2)    /* yn (1, 8.0) == -0.15806046173124749426  */
+ #define DELTA1653 CHOOSE(0, 3, 2, 0, 3, 2)    /* yn (1, 10.0) == 0.24901542420695388392  */
+ #define DELTA1656 CHOOSE(2, 1, 1, 2, 1, 1)    /* yn (3, 0.1) == -5099.3323786129048894  */
+-#define DELTA1657 CHOOSE(2, 3, 0, 2, 3, 0)    /* yn (3, 0.7) == -15.819479052819633505  */
++#define DELTA1657 CHOOSE(2, 3, 1, 2, 3, 1)    /* yn (3, 0.7) == -15.819479052819633505  */
+ #define DELTA1659 CHOOSE(0, 1, 1, 0, 1, 1)    /* yn (3, 2.0) == -1.1277837768404277861  */
+ #define DELTA1660 CHOOSE(0, 1, 1, 0, 1, 1)    /* yn (3, 10.0) == -0.25136265718383732978  */
+ #define DELTA1663 CHOOSE(2, 2, 1, 2, 2, 1)    /* yn (10, 0.1) == -0.11831335132045197885e19  */
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..328b13f
--- /dev/null
+++ b/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+%:
+       dh $@ 
+
+override_dh_auto_test:
+       test/test-float
+       test/test-double
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..ffd7437
--- /dev/null
+++ b/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/openlibm-$1\.tar\.gz/,uversionmangle=s/$/+dfsg/ \
+  https://github.com/JuliaLang/openlibm/tags .*/v?(\d\S*)\.tar\.gz