|
From: | T. Kurt Bond |
Subject: | Re: possible bug in the fmt egg? |
Date: | Fri, 24 Dec 2021 20:37:05 -0500 |
$ chibi-scheme> (import (srfi 166))> (show #f (numeric/si 1024))"1k"> (show #f (numeric/si 0))ERROR in "inexact->exact": exact: not a finite number: +inf.0> (show #f (numeric/si -1))ERROR in "floor": invalid type, expected Number: 0.0+0.45479211794728047i>
Hi Kristian,
On Mon, 18 Oct 2021 23:27:25 +0200 Kristian Lein-Mathisen <kristianlein@gmail.com> wrote:
> 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.
The upstream repository is the CHICKEN Subversion repository.
You can get a copy of it with:
$ svn co https://anonymous@code.call-cc.org/svn/chicken-eggs/release/5/fmt/trunk fmt
The author of fmt is Alex (Cc'ed).
All the best.
Mario
--
http://parenteses.org/mario
[Prev in Thread] | Current Thread | [Next in Thread] |