Adrien Prost-Boucle <adrien.prost-bou...@laposte.net> writes:

  So first I'd like to know,
  what do GMP developers think about using FP there?
  
Making GMP dependent in libm is not OK.

Using time-critical floating-point features on a CPU-by-CPU basis is ok,
but needs to be done with care.  Are these instructions unconditionally
available?  Are they affected by a hardware state "rounding mode" which
could make the operation incorrect?

Using floating-point in C for something time-critical is not good since
GMP should run well on a broad set of CPUs, some of which will run such
code poorly.

-- 
Torbjörn
Please encrypt, key id 0xC8601622
_______________________________________________
gmp-devel mailing list
gmp-devel@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel

Reply via email to