Steffen Jaeckel
e4f8c04da6
fp_toradix[_n]: revise and split up
2015-02-15 23:33:11 +01:00
Sebastian Andrzej Siewior
f734a43b05
implement fp_toradix_n()
...
It is not implemened yet, just added to the headerfile. Therefore I don't
think it is a ABI breakage if I change maxlen from int to unsigned int.
The function releases fp_toradix() for the work which in turn now calls
fp_toradix_n() with a largest possible maxlen parameter.
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
2015-02-15 19:29:12 +01:00
Steffen Jaeckel
ce72d69438
add macro FP_PRIME_SIZE
2014-10-13 16:45:34 +02:00
Steffen Jaeckel
7a38e49b8e
add fp_isprime_ex()
...
fp_isprime() is now only a wrapper function to fp_isprime_ex()
2014-10-13 13:40:36 +02:00
Steffen Jaeckel
ec7f25200f
add fp_rand()
...
it's a port of the function in libtommath
2014-08-14 21:19:14 +02:00
Steffen Jaeckel
06ef0be491
tfm.h: add missing prototype of fp_radix_size()
2014-06-21 13:24:22 +02:00
Steffen Jaeckel
c6b1b8e2f1
fix ulong64 typedef that led to broken builds for several platforms
...
x86_64-w64-mingw32 and 32Bit mode on 64Bit system
x86_64-w64-mingw32-gcc
'gcc -m32'
'gcc -mx32'
2014-06-14 17:39:10 +02:00
Steffen Jaeckel
82aeb1d824
change DIGIT_BIT define to be able to test e.g. FP_SIZE in a macro
2014-06-12 17:59:22 +02:00
Steffen Jaeckel
86e7c59ff4
trim trailing spaces/clean-up
2014-06-12 17:35:54 +02:00
Tom St Denis
da88c2d42f
added tomsfastmath-0.12
2010-07-22 10:06:30 +02:00