summaryrefslogtreecommitdiff
path: root/ltable.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-19 17:16:22 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2015-11-19 17:16:22 -0200
commitd103312661d4d2428516924658154df09b3168a4 (patch)
treedc2318e0bb95abd9776b57ec73f2f9a0c01586e5 /ltable.c
parent2e8f8a18e4ddbb3bebd8e81e276fc37bce02e422 (diff)
downloadlua-d103312661d4d2428516924658154df09b3168a4.tar.gz
lua-d103312661d4d2428516924658154df09b3168a4.tar.bz2
lua-d103312661d4d2428516924658154df09b3168a4.zip
details (typos in comments)
Diffstat (limited to 'ltable.c')
-rw-r--r--ltable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ltable.c b/ltable.c
index ed57394e..03318a5d 100644
--- a/ltable.c
+++ b/ltable.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltable.c,v 2.115 2015/11/03 18:10:44 roberto Exp roberto $ 2** $Id: ltable.c,v 2.116 2015/11/03 18:35:21 roberto Exp roberto $
3** Lua tables (hash) 3** Lua tables (hash)
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -85,7 +85,7 @@ static const Node dummynode_ = {
85/* 85/*
86** Hash for floating-point numbers. 86** Hash for floating-point numbers.
87** The main computation should be just 87** The main computation should be just
88** n = frepx(n, &i); return (n * INT_MAX) + i 88** n = frexp(n, &i); return (n * INT_MAX) + i
89** but there are some numerical subtleties. 89** but there are some numerical subtleties.
90** In a two-complement representation, INT_MAX does not has an exact 90** In a two-complement representation, INT_MAX does not has an exact
91** representation as a float, but INT_MIN does; because the absolute 91** representation as a float, but INT_MIN does; because the absolute