Skip to content

Commit 209be03

Browse files
committed
add parenthetical to manual regarding absence of Float typealias
Seems to be a common FAQ. Not sure if those users would have seen it here, but it's right after explaining the existance of the `Int` type-alias.
1 parent ec984b6 commit 209be03

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

doc/src/manual/types.md

+4
Original file line numberDiff line numberDiff line change
@@ -1064,6 +1064,10 @@ end
10641064
Of course, this depends on what `Int` is aliased to -- but that is predefined to be the correct
10651065
type -- either `Int32` or `Int64`.
10661066

1067+
(Note that unlike `Int`, `Float` does not exist as a type-alias for a specific sized `AbstractFloat`.
1068+
Unlike with integer registers, the floating point register sizes are specified by the IEEE-754 standard.
1069+
Whereas the size of `Int` reflects the size of a native pointer on that machine.)
1070+
10671071
For parametric types, `typealias` can be convenient for providing names for cases where some of
10681072
the parameter choices are fixed:
10691073

0 commit comments

Comments
 (0)