added float32 schubfach algorithm; wip (#18155)
* added float32 schubfach algorithm; wip * fixes #18418
This commit is contained in:
parent
06960bb9cb
commit
daaa40973c
5 changed files with 478 additions and 1 deletions
|
|
@ -58,6 +58,10 @@ proc `$`*(x: float): string {.magic: "FloatToStr", noSideEffect.}
|
|||
## The stringify operator for a float argument. Returns `x`
|
||||
## converted to a decimal string.
|
||||
|
||||
proc `$`*(x: float32): string {.magic: "FloatToStr", noSideEffect.}
|
||||
## The stringify operator for a float32 argument. Returns `x`
|
||||
## converted to a decimal string.
|
||||
|
||||
proc `$`*(x: bool): string {.magic: "BoolToStr", noSideEffect.}
|
||||
## The stringify operator for a boolean argument. Returns `x`
|
||||
## converted to the string "false" or "true".
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue