chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

possible bug in the fmt egg?


From: Kristian Lein-Mathisen
Subject: possible bug in the fmt egg?
Date: Mon, 18 Oct 2021 23:27:25 +0200


Hi,

I'm playing with the fmt egg and I think I've stumbled upon a problem:

~> csi -R fmt -P '(fmt #f (num/si 1024))'
"1Ki"
~> csi -R fmt -P '(fmt #f (num/si 0))'
Error: (log) log of exact 0 is undefined: 0
klm@pisa ~ [70]> csi -R fmt -P '(fmt #f (num/si -1))'
Error: (floor) bad argument type - not a real: 0.0+0.453236014182719i

I couldn't find the upstream repo to report to, so I thought I'd try here.

Thanks,
K.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]