hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit 15a5e9ab579bb06feca51e5784eaf2fad8c66b5c
parent 8802fdf6bbe2ff92727b08ba66a0df190090cf75
Author: Eyal Sawady <ecs@d2evs.net>
Date:   Thu, 13 Jan 2022 07:54:44 +0000

strconv::ftos: implement f32 case

Apparently this wasn't filled in when strconv::f32tos was added

Signed-off-by: Eyal Sawady <ecs@d2evs.net>

Diffstat:
Mstrconv/numeric.ha | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/strconv/numeric.ha b/strconv/numeric.ha @@ -72,7 +72,7 @@ export fn floatingtosb(n: types::floating, b: base) const str = { assert(b == base::DEC); match (n) { case let f: f32 => - abort(); // TODO + return f32tos(f); case let f: f64 => return f64tos(f); };