From d103312661d4d2428516924658154df09b3168a4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 19 Nov 2015 17:16:22 -0200 Subject: details (typos in comments) --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index ed57394e..03318a5d 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.115 2015/11/03 18:10:44 roberto Exp roberto $ +** $Id: ltable.c,v 2.116 2015/11/03 18:35:21 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -85,7 +85,7 @@ static const Node dummynode_ = { /* ** Hash for floating-point numbers. ** The main computation should be just -** n = frepx(n, &i); return (n * INT_MAX) + i +** n = frexp(n, &i); return (n * INT_MAX) + i ** but there are some numerical subtleties. ** In a two-complement representation, INT_MAX does not has an exact ** representation as a float, but INT_MIN does; because the absolute -- cgit v1.2.3-55-g6feb