mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-09 11:40:46 -05:00
Exercise 60: mention new float type f80
This commit is contained in:
parent
5a920ac48c
commit
f2a4209f6d
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 writen 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