diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-01-15 04:21:01 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2010-01-15 04:21:01 +0000 |
commit | b4af9798ae03d2d66c290af0e78e4095ec691380 (patch) | |
tree | 2baec66a11158c526f63faba4afd570003cdd789 /urandom.c | |
parent | 4b466454f786410dbe25a7407edb66b653500dcb (diff) | |
download | mpfr-b4af9798ae03d2d66c290af0e78e4095ec691380.tar.gz |
urandom.c: added a FIXME so that it is not forgotten.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@6662 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'urandom.c')
-rw-r--r-- | urandom.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -26,6 +26,14 @@ http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #define MPFR_NEED_LONGLONG_H #include "mpfr-impl.h" +/* FIXME. + * - mpfr_nextabove leads to an assertion failure in reduced exponent range: + * next.c:90: MPFR assertion failed: !mpfr_set_exp ((x), (exp + 1)) + * - The algorithm itself looks wrong (the bits should be determined MSB + * first in fixed point, so that there's no reason to determine the + * rounding bit first). Please include a proof. + */ + int mpfr_urandom (mpfr_ptr rop, gmp_randstate_t rstate, mpfr_rnd_t rnd_mode) { |