--- ray/doc/man/man1/icalc.1 2004/01/01 19:31:45 1.1 +++ ray/doc/man/man1/icalc.1 2019/06/10 13:56:52 1.4 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: icalc.1,v 1.1 2004/01/01 19:31:45 greg Exp $" +.\" RCSid "$Id: icalc.1,v 1.4 2019/06/10 13:56:52 greg Exp $" .TH ICALC 1 2/3/95 RADIANCE .SH NAME icalc - interactive calculator @@ -13,7 +13,7 @@ is a algebraic calculator designed primarily for interactive use. Each formula definition .I file -is read and compiled. +is read and compiled from the RADIANCE library where it is found. The standard input is then read, expressions are evaluated and results are sent to the standard output. If a newline is escaped using a backslash, input is continued @@ -103,6 +103,12 @@ is zero, the number of available arguments is returned .BR "rand(x)" compute a random number between 0 and 1 based on x. .TP +.BR "min(a1, a2, ..)" +return the minimum value from a list of arguments. +.TP +.BR "max(a1, a2, ..)" +return the maximum value from a list of arguments. +.TP .BR "floor(x)" return largest integer not greater than x. .TP @@ -128,7 +134,9 @@ trigonometric functions. inverse trigonometric functions. .TP .BR "atan2(y, x)" -inverse tangent of y/x (range -pi to pi). +inverse tangent of y/x (range \-pi to pi). +.SH ENVIRONMENT +RAYPATH the directories to check for auxiliary files. .SH AUTHOR Greg Ward .SH "SEE ALSO"