Fork of tomsfastmath for fireswarm
Go to file
Giovanni Bajo 279da69658 Remove usage of malloc() from fp_prime_random_ex.
This is the only instance of dynamic memory in TFM. It can be avoided
by writing directly into the dp[] array, and it does not violate C
aliasing rules which specifically allow access on objects through char*.
It does not matter the platform-specific representation of digits since
we are filling them with random data anyway.
2011-09-21 17:45:18 +02:00
demo added testcase of problem reported by martins.mozeiko@gmail.com 2011-03-27 19:34:36 +02:00
doc added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
mtest added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
pre_gen added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
random_txt_files added tomsfastmath-0.03 2010-07-22 10:06:23 +02:00
src Remove usage of malloc() from fp_prime_random_ex. 2011-09-21 17:45:18 +02:00
.gitignore added gitignore 2011-03-27 19:33:13 +02:00
changes.txt added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
filter.pl added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
gen.pl added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
genlist.sh added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
LICENSE after multiple objections of libtom users [1], we decided to change licensing 2011-01-19 10:28:48 +01:00
makefile added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
makefile.shared added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
mess.sh added tomsfastmath-0.04 2010-07-22 10:06:24 +02:00
parsenames.pl added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
SPONSORS added tomsfastmath-0.01 2010-07-22 10:06:21 +02:00
tfm.tex added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00
TODO added tomsfastmath-0.10 2010-07-22 10:06:29 +02:00
updatemakes.sh added tomsfastmath-0.12 2010-07-22 10:06:30 +02:00