On Sat, Nov 03, 2012 at 02:42:12PM -0430, Andres Perera wrote:
> On Sat, Nov 3, 2012 at 2:19 PM, <[email protected]> wrote:
> > 0^-1 divides by zero, shows random bn warning and kills dc. doesn't
> > happen with other div operators
>
> also even after this patch:
>
> echo 1/0.1 | bc
> 10
> echo 0.1^-1 | bc
> dc: big number failure 306b067: Undefined error: 0
>
> gnu bc handles fractional base ^ negative exponent correctly
Yes, I see. They use bigger intermediate scales it seems. Have to look
into this a bit more. See previous mail for a diff to not crash at least.
-Otto