OS File Browser

Document Math

Type mathematical expressions into a buffer and evaluate them with the add command. This feature is called document math. The add command adds selected text and inserts the result below the last line of the selection. If no operator exists between two adjacent numbers on the same line, addition is assumed. The result of each adjacent line is added.

Prime Numbers

Prime numbers are often useful for sizing hash tables. The isprime command (used from the command line) takes a decimal number as an argument and tells you if it is prime, and if not, its first divisor. The nextprime command takes a decimal number as an argument and finds the next greater prime number.

326

Page 348
Image 348
Slick V3.3 manual Document Math, Prime Numbers, OS File Browser