A New Dragon in the Den: Fast Conversion From Floating-Point Numbers
a seven-headed beast. It's not rocket science.Cassio Neri Fast conversion from floating-point numbers CppCon 2024 - Aurora (Independent Researcher)MeMe O Neri's equationMe O Neri's equation P There must be some inside the permissible interval. n × 10F If is bad, then two consecutive numbers and of this form fall before and after the permissible interval and thus, . F u v v − u = 10 There must be some inside the permissible interval. n × 10F If is bad, then two consecutive numbers and of this form fall before and after the permissible interval and thus, . F u v v − u = 100 码力 | 171 页 | 6.42 MB | 5 月前3Kotlin Language Documentation 1.3
Scalability: Kotlin's support for coroutines helps build server-side applications that scale to massive numbers of clients with modest hardware requirements. Interoperability: Kotlin is fully compatible with capabilities for multi-dimensional array processing, linear algebra, Fourier transform, random numbers, and other mathematical tasks. KNumpy provides statically typed wrappers for NumPy functions. Thanks could only be expressed with a lambda. Here's an example: val numberRegex = "\\d+".toRegex() val numbers = listOf("abc", "123", "456").filter(numberRegex::matches) Other Language Features Type aliases0 码力 | 597 页 | 3.61 MB | 1 年前3Computer Programming with the Nim Programming Language
interpreters Types of programming languages Why Nim? Our first Nim program Binary numbers Hexadecimal numbers Installation of the compiler Creation of source-code files Launching the compiler and permanently on external storage Streams and files String processing Arrays and sequences Random numbers Timers Hash tables Hash sets Operating system services Command-line parsing Regular expressions we have learned by solving some common programming tasks, like sorting, searching, or converting numbers from the internal computer format to displayable text. Part V will introduce some useful external0 码力 | 865 页 | 7.45 MB | 1 年前3Computer Programming with the Nim Programming Language
interpreters Types of programming languages Why Nim? Our first Nim program Binary numbers Hexadecimal numbers Installation of the compiler Creation of source-code files Launching the compiler and permanently on external storage Streams and files String processing Arrays and sequences Random numbers Timers Hash tables Hash sets Operating system services Command-line parsing Regular expressions we have learned by solving some common programming tasks, like sorting, searching, or converting numbers from the internal computer format to displayable text. Part V will introduce some useful external0 码力 | 784 页 | 2.13 MB | 1 年前3Kotlin Language Documentation 1.9.20
science Interactive editors Libraries Kotlin for competitive programming Simple example: Reachable Numbers problem 92 93 93 93 93 94 94 94 94 94 94 95 95 95 95 95 95 96 96 96 96 97 language features Coding conventions for libraries Basic types Numbers Integer types Floating-point types Literal constants for numbers 344 344 344 344 345 345 345 345 345 346 346 346 346 349 350 357 358 358 362 362 362 362 363 364 13 Numbers representation on the JVM Explicit number conversions Operations on numbers Unsigned integer types Unsigned arrays and ranges Unsigned0 码力 | 1299 页 | 32.44 MB | 1 年前3Computer Programming with the Nim Programming Language
38 Binary numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Hexadecimal numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Random numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . we have learned by solving some common programming tasks, like sorting, searching, or converting numbers from the internal computer format to displayable text. Part V will introduce some useful external0 码力 | 508 页 | 3.50 MB | 1 年前3Computer Programming with the Nim Programming Language
38 Binary numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Hexadecimal numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Random numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . we have learned by solving some common programming tasks, like sorting, searching, or converting numbers from the internal computer format to displayable text. Part V will introduce some useful external0 码力 | 508 页 | 3.54 MB | 1 年前3Computer Programming with the Nim Programming Language
38 Binary numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Hexadecimal numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Random numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . we have learned by solving some common programming tasks, like sorting, searching, or converting numbers from the internal computer format to displayable text. Part V will introduce some useful external0 码力 | 508 页 | 3.50 MB | 1 年前3Computer Programming with the Nim Programming Language
38 Binary numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Hexadecimal numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Random numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . we have learned by solving some common programming tasks, like sorting, searching, or converting numbers from the internal computer format to displayable text. Part V will introduce some useful external0 码力 | 508 页 | 3.52 MB | 1 年前3Computer Programming with the Nim Programming Language
38 Binary numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Hexadecimal numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255 Random numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . we have learned by solving some common programming tasks, like sorting, searching, or converting numbers from the internal computer format to displayable text. Part V will introduce some useful external0 码力 | 508 页 | 3.53 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100