Revision 5ae4251c doc/eval.texi
doc/eval.texi  

60  60 
Evaluate expression @var{expr} while the expression @var{cond} is 
61  61 
nonzero, and returns the value of the last @var{expr} evaluation, or 
62  62 
NAN if @var{cond} was always false. 
63  
64 
@item ceil(expr) 

65 
Round the value of expression @var{expr} upwards to the nearest 

66 
integer. For example, "ceil(1.5)" is "2.0". 

67  
68 
@item floor(expr) 

69 
Round the value of expression @var{expr} downwards to the nearest 

70 
integer. For example, "floor(1.5)" is "2.0". 

71  
72 
@item trunc(expr) 

73 
Round the value of expression @var{expr} towards zero to the nearest 

74 
integer. For example, "trunc(1.5)" is "1.0". 

63  75 
@end table 
64  76  
65  77 
Note that: 
Also available in: Unified diff