Skip to content

Commit

Permalink
Relicensed to Boost Software License Version 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shibatch committed Jan 30, 2017
1 parent dc3d2ae commit a154ccb
Show file tree
Hide file tree
Showing 31 changed files with 171 additions and 3 deletions.
23 changes: 23 additions & 0 deletions LICENSE_1_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
Boost Software License - Version 1.0 - August 17th, 2003

Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:

The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.

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, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
10 changes: 7 additions & 3 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ 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.

The software is in public domain. You can use the software without any
obligation.
The software is distributed under the Boost Software License, Version
1.0. See accompanying file LICENSE_1_0.txt or copy at
http://www.boost.org/LICENSE_1_0.txt.

Copyright Naoki Shibata 2010 - 2017.

Author : Naoki Shibata

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

Expand All @@ -29,6 +30,9 @@ Single precision trigonometric functions : [-39000, 39000]

History

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
Expand Down
1 change: 1 addition & 0 deletions gencoef/gencoefdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// Since the original code for simplex algorithm is developed by Haruhiko Okumura and
// the code is distributed under the Creative Commons Attribution 4.0 International License,
// the contents under this directory are also distributed under the same license.
// https://creativecommons.org/licenses/by/4.0/

#include <stdio.h>
#include <stdlib.h>
Expand Down
5 changes: 5 additions & 0 deletions purec/iut.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions purec/nonnumber.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#if defined (__GNUC__) || defined (__INTEL_COMPILER) || defined (__clang__)
#ifdef INFINITY
#undef INFINITY
Expand Down
5 changes: 5 additions & 0 deletions purec/sleef.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

typedef struct {
double x, y;
} double2;
Expand Down
5 changes: 5 additions & 0 deletions purec/sleefdp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

// Always use -ffp-contract=off option to compile SLEEF.

#include <stdio.h>
Expand Down
5 changes: 5 additions & 0 deletions purec/sleefsp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

// Always use -ffp-contract=off option to compile SLEEF.

#include <stdio.h>
Expand Down
5 changes: 5 additions & 0 deletions purec/tester2.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions purec/tester2f.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions simd/dd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

typedef struct {
vdouble x, y;
} vdouble2;
Expand Down
5 changes: 5 additions & 0 deletions simd/df.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

typedef struct {
vfloat x, y;
} vfloat2;
Expand Down
5 changes: 5 additions & 0 deletions simd/helperavx.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef __AVX__
#error Please specify -mavx.
#endif
Expand Down
5 changes: 5 additions & 0 deletions simd/helperavx2.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef __AVX2__
#error Please specify -mavx.
#endif
Expand Down
5 changes: 5 additions & 0 deletions simd/helperavx512f.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef __AVX512F__
#error Please specify -mavx512f.
#endif
Expand Down
5 changes: 5 additions & 0 deletions simd/helperclangvec.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdint.h>

// When you change VECTLENDP, you also need to change the same macro in sleefsimd.h
Expand Down
5 changes: 5 additions & 0 deletions simd/helperfma4.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef __FMA4__
#error Please specify -mfma4.
#endif
Expand Down
5 changes: 5 additions & 0 deletions simd/helperneon32.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef __ARM_NEON__
#error Please specify -mfpu=neon.
#endif
Expand Down
5 changes: 5 additions & 0 deletions simd/helpersse2.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#ifndef __SSE2__
#error Please specify -msse2.
#endif
Expand Down
5 changes: 5 additions & 0 deletions simd/iut.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions simd/nonnumber.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#if defined (__GNUC__) || defined (__INTEL_COMPILER) || defined (__clang__)
#ifdef INFINITY
#undef INFINITY
Expand Down
5 changes: 5 additions & 0 deletions simd/sleefsimd.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdint.h>

// ******** SSE2 ********
Expand Down
5 changes: 5 additions & 0 deletions simd/sleefsimddp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

// Always use -ffp-contract=off option to compile SLEEF.

#include <assert.h>
Expand Down
5 changes: 5 additions & 0 deletions simd/sleefsimdsp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

// Always use -ffp-contract=off option to compile SLEEF.

#include <assert.h>
Expand Down
5 changes: 5 additions & 0 deletions simd/tester2fsimd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <mpfr.h>
Expand Down
5 changes: 5 additions & 0 deletions simd/tester2simd.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions tester/nonnumber.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#if defined (__GNUC__) || defined (__INTEL_COMPILER) || defined (__clang__)
#ifdef INFINITY
#undef INFINITY
Expand Down
5 changes: 5 additions & 0 deletions tester/tester.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions tester/testersp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions tester/testerspu1.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down
5 changes: 5 additions & 0 deletions tester/testeru1.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// Copyright Naoki Shibata 2010 - 2017.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)

#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
Expand Down

0 comments on commit a154ccb

Please sign in to comment.