How to write numeric literals in hexadecimal, octal, or binary notation
How to use the underscore character to make numeric literals easier to read
How to use the exponential notation to write huge or tiny numbers in a compact form
Which are the twelve primitive integer numeric types, and the two primitive floating-point numeric types; what are their ranges; and when it is better to use each of them
How to specify numeric literals of concrete types or of unconstrained types
How to convert a numeric value ...
© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
C. MilanesiBeginning Rusthttps://doi.org/10.1007/978-1-4842-7208-4_66. Using Primitive Types
Carlo Milanesi1
(1)
Bergamo, Italy
In this chapter, you will learn:
Get Beginning Rust: Get Started with Rust 2021 Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.