A delightfully specific question!
R4RS stands for "Revised^4 Report on the Algorithmic Language Scheme", which is the 4th edition of the Scheme language specification, published in 1991.
In R4RS, the answer to your question is: no, it does not mandate floating-point number handling.
Here's what the spec says (section 6.2, "Numbers", page 23 of the official R4RS PDF):
6.2. Numbers
Scheme numbers are either exact or inexact. A number is exact if it
was written as an exact constant or was derived from exact numbers using
only exact operations. A number is inexact if it was written as an
inexact constant, if it was derived using inexact ingredients, or if it
was derived using inexact operations. Thus inexactness is a contagious
property of a number.
6.2.1. Exactness
An exact number is one that can be represented as a ratio of two
integers (a rational number). All integers are exact. An inexact number
is one that is not exact.
And then, in section 6.2.2, "Number types", we find:
The integer? predicate returns #t if its argument is an exact
integer, and #f otherwise.
No mention of floating-point numbers so far.
In fact, R4RS only requires implementations to support:
- Exact integers (arbitrary-precision integers, e.g., 1, 2, 3, ...)
- Exact rationals (fractions, e.g., 1/2, 3/4, ...)
The spec does mention "inexact" numbers, but it does not specify what representation or type they should have. The wording is deliberately vague:
An inexact number is one that is not exact. Inexact numbers are
represented in a way that is not specified here (emphasis mine).
And later:
Implementations of Scheme are not required to distinguish between
inexact integers and inexact rationals (i.e., real numbers). (Section 6.2.3, "Implementation restrictions")
In other words, R4RS does not require:
- Floating-point numbers (e.g., IEEE 754 floats,
float in C)
- Real numbers (in the mathematical sense, including irrational numbers like π or e)
- Complex numbers (although it mentions them in a non-normative footnote)
The intention was to keep the language definition independent of specific numerical representations, allowing implementations to choose their own way of handling inexact numbers (or not handling them at all).
Consequently, a conforming R4RS Scheme implementation could, in theory:
- Not support any inexact numbers (i.e., no floats, no reals, no complex numbers)
- Support inexact numbers using a non-floating-point representation (e.g., intervals, rational approximations, or even decimal arithmetic)
In practice, most Scheme implementations of the time (and all modern ones, AFAIK) chose to implement inexact numbers using IEEE 754 floating-point numbers, but that's an implementation choice, not a requirement from the R4RS spec.
Fast-forward to later Scheme reports:
- R5RS (1998) still doesn't mandate floating-point numbers, but most implementations had already adopted them by then.
- R6RS (2007) and R7RS (2013) do explicitly require IEEE 754 floating-point support (as well as complex numbers and other numerical goodies).
So, to summarize:
R4RS does not mandate floating-point number handling. Implementations are free to choose their own way of handling inexact numbers, or not to support them at all.
I hope this answers your delightfully obscure question!