Skip to content

Commit 47a22ff

Browse files
steveklabnikManishearth
authored andcommitted
Link from literals to their representation
Fixes rust-lang#22152
1 parent a1db8b9 commit 47a22ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reference.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,9 @@ This last example is different because it is not possible to use the suffix
515515
syntax with a floating point literal ending in a period. `2.f64` would attempt
516516
to call a method named `f64` on `2`.
517517

518+
The representation semantics of floating-point numbers are described in
519+
["Machine Types"](#machine-types).
520+
518521
#### Boolean literals
519522

520523
The two values of the boolean type are written `true` and `false`.

0 commit comments

Comments
 (0)