-
-
Notifications
You must be signed in to change notification settings - Fork 216
Open
Description
The Language->Comptime documentation for version 0.14 states:
comptime_floatis also available, which internally is an f128. These cannot be coerced to integers, even if they hold an integer value.
| `comptime_float` is also available, which internally is an `f128`. These cannot |
However, the official Zig documentation states something different:
Float literals coerce to any floating point type, and to any integer type when there is no fractional component.
Metadata
Metadata
Assignees
Labels
No labels