From 1b6858616dae3cef72fa7b0299994caf13c474f9 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Thu, 11 Jun 2009 10:04:50 +0000 Subject: [PATCH] fixed: in Big::FromDouble(): SetNaN() should be SetNan(); git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@157 e52654a7-88a9-db11-a3e9-0013d4bc506e --- ttmath/ttmathbig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttmath/ttmathbig.h b/ttmath/ttmathbig.h index ad94254..1c7f4d7 100644 --- a/ttmath/ttmathbig.h +++ b/ttmath/ttmathbig.h @@ -2144,7 +2144,7 @@ public: // we do not support -Infinity and +Infinity // we assume that there is always NaN - SetNaN(); + SetNan(); } else if( e > 0 )