GNU Info

Info Node: (guile.info)Numbers

(guile.info)Numbers


Next: Characters Prev: Booleans Up: Data Types
Enter node , (file) or (file)node

Numerical data types
====================

Guile supports a rich "tower" of numerical types -- integer, rational,
real and complex -- and provides an extensive set of mathematical and
scientific functions for operating on numerical data.  This section of
the manual documents those types and functions.

You may also find it illuminating to read R5RS's presentation of numbers
in Scheme, which is particularly clear and accessible: see Note:
Numbers.

Numerical Tower
Scheme's numerical "tower".
Integers
Whole numbers.
Reals and Rationals
Real and rational numbers.
Complex Numbers
Complex numbers.
Exactness
Exactness and inexactness.
Number Syntax
Read syntax for numerical data.
Integer Operations
Operations on integer values.
Comparison
Comparison predicates.
Conversion
Converting numbers to and from strings.
Complex
Complex number operations.
Arithmetic
Arithmetic functions.
Scientific
Scientific functions.
Primitive Numerics
Primitive numeric functions.
Bitwise Operations
Logical AND, OR, NOT, and so on.
Random
Random number generation.

automatically generated by info2www version 1.2.2.9