mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-13 21:40:46 -05:00
Merge pull request #143 from kimshrier/exercise_060_f80
Exercise 60: mention new float type f80 @kimshrier Thank you!
This commit is contained in:
commit
46d233b97c
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
//
|
//
|
||||||
// Zig has support for IEEE-754 floating-point numbers in these
|
// Zig has support for IEEE-754 floating-point numbers in these
|
||||||
// specific sizes: f16, f32, f64, f128. Floating point literals
|
// specific sizes: f16, f32, f64, f80, and f128. Floating point
|
||||||
// may be written in scientific notation:
|
// literals may be writen in scientific notation:
|
||||||
//
|
//
|
||||||
// const a1: f32 = 1200.0; // 1,200
|
// const a1: f32 = 1200.0; // 1,200
|
||||||
// const a2: f32 = 1.2e+3; // 1,200
|
// const a2: f32 = 1.2e+3; // 1,200
|
||||||
|
|
Loading…
Reference in a new issue