Fix MPFR Flog implementation
authorNelson Ferreira <nelson.ferreira@ieee.org>
Mon, 14 Mar 2016 23:05:46 +0000 (19:05 -0400)
committerNelson Ferreira <nelson.ferreira@ieee.org>
Mon, 14 Mar 2016 23:05:46 +0000 (19:05 -0400)
commitf44c1b5697e1bb9a20437099a28c843b90af8d15
tree6cf85c518cf701881e300af255b77fb4576ca21e
parent74a038200aac89b5c4b2591600da306ed8f749b0
Fix MPFR Flog implementation

* src/ent/floatfns.c (Flog10): Use RETURN_WHEN_INDEF to check
before dividing by log 10.
(Flog2): Use RETURN_WHEN_INDEF to check before dividing by log 2.
(Flog): Properly add parameters to Flog.  Use
the common RETURN_WHEN_INDEF when Flog return indefinite.
Plus some whitespace fixes.

Signed-off-by: Nelson Ferreira <nelson.ferreira@ieee.org>
src/ent/floatfns.c