Previous chapter: #23: Defining Forms Make Constants (Change)
Dylan Design Notes
Dylan Design Notes: #24: Divide by Zero Signals Error (Clarification)
#24: Divide by Zero Signals Error (Clarification)
Version 1, January 1994
Copyright (c) 1993-1994, Apple Computer
This design note specifies that division by zero signals an error. This
makes Dylan programs safer and more robust, possibly at the cost of speed
in some cases.
Specify that division by zero signals an error. The special case 0/0 is
also specifically an error. This affects the following functions (p.
149-150):
/ unary/ binary/
floor/ ceiling/ round/ truncate/
modulo remainder
Next chapter: #25: Exit Extent (Change)