in reply to Re^3: [Raku] Arcane treatment of doubles and rationals
in thread [Raku] Arcane treatment of doubles and rationals

I'd consider this a bug

Yes, I think there's something that's definitely not right.
For a start, there's never any need to assign an 18-significant-digit (decimal) value to a double.
Whatever value is assigned to a double by the 18-siginificant-digit 0.100000000000000006 will also be assigned by the 17-significant-digit 0.10000000000000001.

As I said (in the reply to myself that I posted shortly after your post), I will raise the issues with them.

Cheers,
Rob
  • Comment on Re^4: [Raku] Arcane treatment of doubles and rationals

Replies are listed 'Best First'.
Re^5: [Raku] Arcane treatment of doubles and rationals
by holli (Abbot) on Apr 04, 2021 at 13:34 UTC
    there's never any need to assign an 18-significant-digit (decimal) value to a double
    You are forcing that by using an exponent.


    holli

    You can lead your users to water, but alas, you cannot drown them.