Scans for a float value, returning a found value by reference.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Upon return, contains the scanned value. Contains
–HUGEon overflow, or
true if the receiver finds a valid floating-point representation, otherwise
false. Overflow or underflow are both considered valid floating-point representations.
Skips past excess digits in the case of overflow, so the scanner’s position is past the entire floating-point representation.
Invoke this method with
float to simply scan past a float value representation. Floating-point representations are assumed to be IEEE compliant.