From 16e8bb360bb9b26f501808cf3e738a636ee5f11e Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 9 Jun 2015 11:21:00 -0300 Subject: comment --- llimits.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/llimits.h b/llimits.h index c711ca64..50391eb2 100644 --- a/llimits.h +++ b/llimits.h @@ -1,5 +1,5 @@ /* -** $Id: llimits.h,v 1.133 2015/03/04 13:31:21 roberto Exp roberto $ +** $Id: llimits.h,v 1.134 2015/03/06 19:49:50 roberto Exp roberto $ ** Limits, basic types, and some other 'installation-dependent' definitions ** See Copyright Notice in lua.h */ @@ -261,11 +261,11 @@ typedef unsigned long Instruction; #endif /* -** module: defined as 'a - floor(a/b)*b'; the previous definition gives -** NaN when 'b' is huge, but the result should be 'a'. 'fmod' gives the -** result of 'a - trunc(a/b)*b', and therefore must be corrected when -** 'trunc(a/b) ~= floor(a/b)'. That happens when the division has a -** non-integer negative result, which is equivalent to the test below +** modulo: defined as 'a - floor(a/b)*b'; this definition gives NaN when +** 'b' is huge, but the result should be 'a'. 'fmod' gives the result of +** 'a - trunc(a/b)*b', and therefore must be corrected when 'trunc(a/b) +** ~= floor(a/b)'. That happens when the division has a non-integer +** negative result, which is equivalent to the test below. */ #if !defined(luai_nummod) #define luai_nummod(L,a,b,m) \ -- cgit v1.2.3-55-g6feb