2ARITHMETIC AND OTHER NUMERICAL PARAPHERNALIA
In this chapter, we’ll take a look at the rich set of numerical data types that Racket provides. We’ll discover the expected integer and floating-point values, but we’ll also learn that Racket supports rational (or fractional) values along with complex numbers (don’t worry if you don’t know what complex numbers are; they are not heavily used in this text, but we take a brief look for those that may be interested).
Booleans
Booleans are true and false values, and while they aren’t strictly numbers, they behave a bit like numbers in that they can be combined by various operators to produce other Boolean ...
Get Racket Programming the Fun Way now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.