mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 20:02:22 -07:00
Merge pull request #1599 from gitlost/fract_trunc_classify_#1574
Fix for trunc_f16/32/64 (#1574)
This commit is contained in:
@@ -94,6 +94,7 @@ the_basics :: proc() {
|
||||
z: f64 // `z` is typed of type `f64` (64-bit floating point number)
|
||||
z = 1 // `1` is an untyped integer literal which can be implicitly converted to `f64`
|
||||
// No need for any suffixes or decimal places like in other languages
|
||||
// (with the exception of negative zero, which must be given as `-0.0`)
|
||||
// CONSTANTS JUST WORK!!!
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user