Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference

# Numbers

1. Number Types
2. Integer Limits

## Number Types

In Nyquist/XLISP only two types of numers exist:

- fixnum - integer numbers
- flonum - floating-point numbers

In Nyquist/XLISP, there are no ratios or complex numbers. Even if the math functions in this section are modelled after Common Lisp, no attempt is made to emulate these numbers.

## Integer Limits

    (setq *most-positive-fixnum*  2147483647)
    (setq *most-negative-fixnum* -2147483648)

Note: these are the limits for 32-bit machines.

Back to top

Nyquist / XLISP 2.0 - Contents | Tutorials | Examples | Reference