Float(2rheolef)

πŸ“¦
version 7.2 Β· 4 versions
, in debian trixie, ubuntu noble, ubuntu questing

✨ Float(2rheolef) ✨

okay bestie, so this is a page from the rheolef manual, section 2rheolef β€” and we're talking about Float, the moment of truth type πŸ’…


🌸 NAME 🌸

Float β€” the default floating point type, from rheolef-7.2. it's giving "the vibe of every decimal number in the library" πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

so here's the tea, bestie: the default floating point in the Rheolef library is the double precision type, and that's 64 bits of pure numeric excellence ✨

typedef double Float;

lowkey iconic. one typedef, whole library.

but wait β€” this default behavior could be changed at the configuration stage, before the compilation of the library πŸ‘€ like, you do it before you build, not after, iykyk. for instance, choosing the float128 quadruple precision (128 bits) is possible. yes, 128 bits. she's extra and we love her πŸ’…

and the whole point of using the Float type instead of just saying double everywhere is that it opens the possibility to run codes that use Rheolef with different floating point precision πŸ”₯ like, one little typedef and suddenly your code is precision-flexible. main character energy, fr fr.


πŸ› οΈ IMPLEMENTATION πŸ› οΈ

ngl this documentation has been generated from file config/Float.h πŸ“„ β€” go peek if you want the source-of-truth vibes.


πŸ‘‘ AUTHOR πŸ‘‘

Pierre Saramito <Pierre.Saramito@imag.fr> 🫢


Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr> GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.

This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. πŸ’€ so like, technically, legally, no promises β€” but she's still slaying.


and that's the whole page bestie, no cap πŸŽ€ this was rheolef, Version 7.2, and the page is Float(2rheolef) β€” go forth and float, responsibly πŸŒˆβ­πŸ“

πŸ“¦ where this page comes from