Skip to content

Commit

Permalink
This patch updates the documentation. The updated documentation can b… (
Browse files Browse the repository at this point in the history
#42)

* This patch updates the documentation.

* It also changes minor version numbers in DLL, and update files related to debian packaging.

* SPECIFICATION file is removed. This was now redundant since the accuracy specification is described in the xhtml files.

* Entered the release date.
  • Loading branch information
shibatch committed Jul 19, 2017
1 parent 5ef235f commit 7311771
Show file tree
Hide file tree
Showing 31 changed files with 9,336 additions and 1,097 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ distclean : clean
+"$(MAKE)" --directory=include distclean
+"$(MAKE)" --directory=lib distclean
+"$(MAKE)" --directory=src distclean
rm -rf debian/libsleef3
# rm -f debian/debhelper-build-stamp
# rm -f debian/files
# rm -f debian/libsleef3.debhelper.log
Expand Down
110 changes: 4 additions & 106 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,117 +1,15 @@
[![Build Status](https://travis-ci.org/shibatch/sleef.svg?branch=master)](https://travis-ci.org/shibatch/sleef)

In this library, functions for evaluating some elementary functions
are implemented. The algorithm is intended for efficient evaluation
utilizing SIMD instruction sets like SSE or AVX, but it is also fast
using usual scalar operations.

The package contains a few directories in which implementation in the
corresponding languages are contained. You can run "make test" in
order to test the functions in each directory.
are implemented. The library also includes DFT subroutines.

The software is distributed under the Boost Software License, Version
1.0. See accompanying file LICENSE.txt or copy at
http://www.boost.org/LICENSE_1_0.txt.
Contributions to this project are accepted under the same license.

Copyright Naoki Shibata and contributors 2010 - 2017.


Main download page : http://shibatch.sourceforge.net/

--

Compiling library with Microsoft Visual C++

Below is the instruction for compiling SLEEF with Microsoft Visual
C++. Only 64bit architecture is supported. Only DLLs are built.


1. Install Visual Studio 2015 or later, along with Cygwin
2. Copy vcvars64.bat to a working directory.
This file is usually in the following directory.
C:\Program Files (x86)\MSVCCommunity2015\VC\bin\amd64
3. Add the following line at the end of vcvars64.bat
if "%SHELL%"=="/bin/bash" c:\cygwin64\bin\bash.exe
4. Execute vcvars64.bat within the Cygwin bash shell.
5. Go to sleef-3.X directory
6. Run "make -f Makefile.vc"

--


History

3.0
* New API is defined
* Functions for DFT are added
* sincospi functions are added
* gencoef now supports single, extended and quad precision in addition to double precision
* Linux, Windows and Mac OS X are supported
* GCC, Clang, Intel Compiler, Microsoft Visual C++ are supported
* The library can be compiled as DLLs
* Files needed for creating a debian package are now included


2.121
* Renamed LICENSE_1_0.txt to LICENSE.txt

2.120
* Relicensed to Boost Software License Version 1.0

2.110
* The valid range of argument is extended for trig functions
* Specification of each functions regarding to the domain and accuracy is added
* A coefficient generation tool is added
* New testing tools are introduced
* Following functions returned incorrect values when the argument is very large or small : exp, pow, asinh, acosh
* SIMD xsin and xcos returned values more than 1 when FMA is enabled
* Pure C cbrt returned incorrect values when the argument is negative
* tan_u1 returned values with more than 1 ulp of error on rare occasions
* Removed support for Java language(because no one seems using this)

2.100 Added support for AVX-512F and Clang Extended Vectors.

2.90 Added ilogbf. All the reported bugs(listed below) are fixed.
* Log function returned incorrect values when the argument is very small.
* Signs of returned values were incorrect when the argument is signed zero.
* Tester incorrectly counted ULP in some cases.
* ilogb function returned incorrect values in some cases.

2.80 Added support for ARM NEON. Added higher accuracy single
precision functions : sinf_u1, cosf_u1, sincosf_u1, tanf_u1, asinf_u1,
acosf_u1, atanf_u1, atan2f_u1, logf_u1, and cbrtf_u1.

2.70 Added higher accuracy functions : sin_u1, cos_u1, sincos_u1,
tan_u1, asin_u1, acos_u1, atan_u1, atan2_u1, log_u1, and
cbrt_u1. These functions evaluate the corresponding function with at
most 1 ulp of error.

2.60 Added the remaining single precision functions : powf, sinhf,
coshf, tanhf, exp2f, exp10f, log10f, log1pf. Added support for FMA4
(for AMD Bulldozer). Added more test cases. Fixed minor bugs (which
degraded accuracy in some rare cases).

2.50 Added support for AVX2. SLEEF now compiles with ICC.

2.40 Fixed incorrect denormal/nonnumber handling in ldexp, ldexpf,
sinf and cosf. Removed support for Go language.

2.31 Added sincosf.

2.30 Added single precision functions : sinf, cosf, tanf, asinf,
acosf, atanf, logf, expf, atan2f and cbrtf.

2.20 Added exp2, exp10, expm1, log10, log1p, and cbrt.

2.10 asin() and acos() are back. Added ilogb() and ldexp(). Added
hyperbolic functions. Eliminated dependency on frexp, ldexp, fabs,
isnan and isinf.

2.00 All of the algorithm has been updated. Both accuracy and speed
are improved since version 1.10. Denormal number handling is also
improved.

1.10 AVX support is added. Accuracy tester is added.
Copyright Naoki Shibata and contributors 2010 - 2017.

1.00 Initial release
Main Page : http://sleef.org/
GitHub Repo : https://github.com/shibatch/sleef
2 changes: 1 addition & 1 deletion config.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export SOVERSION=3
export MINORVERSION=0
export MINORVERSION=1

export MAXBUTWIDTH=3

Expand Down
73 changes: 2 additions & 71 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,74 +1,5 @@
libsleef3 (3.1-2) xenial; urgency=medium

* hypot is now ok
* Added nextafter, frexp and fmod to sleedp.c

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 19:24:12 +0900

libsleef3 (3.1-1-ubuntu1) xenial; urgency=medium

* Fixed bug in atan2_u1
* Tester2 has better coverage

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 19:24:12 +0900

libsleef3 (3.1-0-0) xenial; urgency=medium

* This is version 3.1

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 19:24:12 +0900

libsleef3 (3.0-4-ubuntu1) xenial; urgency=medium

* Hello

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 19:24:12 +0900

libsleef3 (3.0-3-ubuntu0) xenial; urgency=medium

* Yeah

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 19:17:20 +0900

libsleef3 (3.0-1ubuntu9) xenial; urgency=medium

* Hello, hello

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 18:43:05 +0900

libsleef3 (3.0-1ubuntu8) xenial; urgency=medium

* It rejects saying contents are same

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 18:36:54 +0900

libsleef3 (3.0-1ubuntu7) xenial; urgency=medium

* Still trying

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 18:20:34 +0900

libsleef3 (3.0-1ubuntu6) xenial; urgency=medium

* Still trying
* Changed e-mail address

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 18:19:47 +0900

libsleef3 (3.0-1ubuntu3) xenial; urgency=medium

* It did not upload correctly. I don't know why.

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 18:11:19 +0900

libsleef3 (3.0-1ubuntu1) xenial; urgency=medium

* Modified dependency

-- Naoki Shibata <shibatch@users.sourceforge.net> Tue, 07 Feb 2017 17:52:12 +0900

libsleef3 (3.0-1) xenial; urgency=medium
libsleef3 (3.1-1) xenial; urgency=medium

* Initial release.

-- Naoki Shibata <shibatch@users.sourceforge.net> Sat, 31 Dec 2016 02:45:16 +0900
-- Naoki Shibata <shibatch@users.sourceforge.net> Sat, 1 Jul 2017 12:00:00 +0900
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9
10
3 changes: 3 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/usr/bin/make -f
%:
dh $@

override_dh_auto_test:
echo Skipping test
129 changes: 0 additions & 129 deletions doc/SPECIFICATION

This file was deleted.

0 comments on commit 7311771

Please sign in to comment.