details (typos in comments)

This commit is contained in:
Roberto Ierusalimschy
2015-11-19 17:16:22 -02:00
parent 2e8f8a18e4
commit d103312661
10 changed files with 22 additions and 22 deletions

View File

@@ -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