Browse Source

- changed info in headers in source files: (new) BSD licence -> 3-Clause BSD Licence

- added svn:ignore in some places




git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@1051 e52654a7-88a9-db11-a3e9-0013d4bc506e
master
Tomasz Sowa 5 years ago
parent
commit
c73af9c116
  1. 6
      constgen/Makefile
  2. 4
      constgen/main.cpp
  3. 13
      samples/Makefile
  4. 6
      tests/Makefile
  5. 4
      tests/main.cpp
  6. 4
      tests/uinttest.cpp
  7. 4
      tests/uinttest.h
  8. 2
      ttmath/ttmath.h
  9. 8
      ttmath/ttmathbig.h
  10. 2
      ttmath/ttmathdec.h
  11. 2
      ttmath/ttmathint.h
  12. 2
      ttmath/ttmathmisc.h
  13. 2
      ttmath/ttmathobjects.h
  14. 2
      ttmath/ttmathparser.h
  15. 2
      ttmath/ttmaththreads.h
  16. 2
      ttmath/ttmathtypes.h
  17. 2
      ttmath/ttmathuint.h
  18. 2
      ttmath/ttmathuint_noasm.h
  19. 2
      ttmath/ttmathuint_x86.h
  20. 2
      ttmath/ttmathuint_x86_64.h
  21. 2
      ttmath/ttmathuint_x86_64_msvc.asm

6
constgen/Makefile

@ -1,6 +1,6 @@
o = main.o
CC = g++
CFLAGS = -s -O2 -DTTMATH_CONSTANTSGENERATOR
CC = clang++
CFLAGS = -O2 -DTTMATH_CONSTANTSGENERATOR
name = gen
@ -13,7 +13,7 @@ name = gen
all: $(name)
$(name): $(o)
$(CC) -o $(name) $(CFLAGS) $(o)
$(CC) -o $(name) -s $(CFLAGS) $(o)

4
constgen/main.cpp

@ -1,7 +1,7 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* Author: Tomasz Sowa <t.sowa@slimaczek.pl>
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/
/*

13
samples/Makefile

@ -1,5 +1,6 @@
CC = g++
CFLAGS = -Wall -pedantic -s -O2 -I.. -DTTMATH_DONT_USE_WCHAR
#CC = clang++
CFLAGS = -Wall -pedantic -O2 -I.. -DTTMATH_DONT_USE_WCHAR
.SUFFIXES: .cpp .o
@ -12,19 +13,19 @@ all: uint int big big2 parser
uint: uint.o
$(CC) -o uint $(CFLAGS) uint.o
$(CC) -o uint -s $(CFLAGS) uint.o
int: int.o
$(CC) -o int $(CFLAGS) int.o
$(CC) -o int -s $(CFLAGS) int.o
big: big.o
$(CC) -o big $(CFLAGS) big.o
$(CC) -o big -s $(CFLAGS) big.o
big2: big2.o
$(CC) -o big2 $(CFLAGS) big2.o
$(CC) -o big2 -s $(CFLAGS) big2.o
parser: parser.o
$(CC) -o parser $(CFLAGS) parser.o
$(CC) -o parser -s $(CFLAGS) parser.o
uint.o: uint.cpp

6
tests/Makefile

@ -1,6 +1,6 @@
CC = g++
CC = clang++
o = main.o uinttest.o
CFLAGS = -Wall -O2 -s
CFLAGS = -Wall -O2
ttmath = ..
name = tests
@ -16,7 +16,7 @@ all: $(name)
$(name): $(o)
$(CC) -o $(name) $(CFLAGS) -I$(ttmath) $(o)
$(CC) -o $(name) -s $(CFLAGS) -I$(ttmath) $(o)
main.o: main.cpp uinttest.h

4
tests/main.cpp

@ -1,7 +1,7 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* Author: Tomasz Sowa <t.sowa@slimaczek.pl>
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/
/*

4
tests/uinttest.cpp

@ -1,7 +1,7 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* Author: Tomasz Sowa <t.sowa@slimaczek.pl>
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/
/*

4
tests/uinttest.h

@ -1,7 +1,7 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* Author: Tomasz Sowa <t.sowa@slimaczek.pl>
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/
/*

2
ttmath/ttmath.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

8
ttmath/ttmathbig.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/
@ -392,6 +392,8 @@ public:
*/
void SetPi()
{
// IMPROVE ME
// give some compiler-time warning when the size of mantissa is greater than the builtin size of the mantissa pi
SetMantissaPi();
info = 0;
exponent = -sint(man)*sint(TTMATH_BITS_PER_UINT) + 2;
@ -403,6 +405,8 @@ public:
*/
void Set05Pi()
{
// IMPROVE ME
// give some compiler-time warning when the size of mantissa is greater than the builtin size of the mantissa pi
SetMantissaPi();
info = 0;
exponent = -sint(man)*sint(TTMATH_BITS_PER_UINT) + 1;
@ -414,6 +418,8 @@ public:
*/
void Set2Pi()
{
// IMPROVE ME
// give some compiler-time warning when the size of mantissa is greater than the builtin size of the mantissa pi
SetMantissaPi();
info = 0;
exponent = -sint(man)*sint(TTMATH_BITS_PER_UINT) + 3;

2
ttmath/ttmathdec.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathint.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathmisc.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathobjects.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Mathematical Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathparser.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmaththreads.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathtypes.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathuint.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathuint_noasm.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathuint_x86.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathuint_x86_64.h

@ -1,6 +1,6 @@
/*
* This file is a part of TTMath Bignum Library
* and is distributed under the (new) BSD licence.
* and is distributed under the 3-Clause BSD Licence.
* Author: Tomasz Sowa <t.sowa@ttmath.org>
*/

2
ttmath/ttmathuint_x86_64_msvc.asm

@ -1,6 +1,6 @@
;
; This file is a part of TTMath Bignum Library
; and is distributed under the (new) BSD licence.
; and is distributed under the 3-Clause BSD Licence.
; Author: Christian Kaiser <chk@online.de>, Tomasz Sowa <t.sowa@ttmath.org>
;

Loading…
Cancel
Save