BBB : User's Guide : Numbers - urschleim/scream GitHub Wiki

Numbers

scream offers two number types: Real numbers implemented based on a Java-double and integers based on Java-longs.

Exactness is supported in the following form:

  • Inexact numbers are represented as real (floating point) numbers.
  • Exact numbers are represented as integer numbers.

Future

  • Integers may by supported in the form of arbitrary length integers in the future. See ...
  • Exact real numbers may be supported in the future. Chez Scheme represents those as rational numbers, so if we follow that approach support of real numbers is a precondition for exact real numbers. See ...