develooper Front page | perl.perl6.users | Postings from August 2017

Re: Floating point Num addition produces rationals?

Thread Previous
From:
Timo Paulssen
Date:
August 29, 2017 18:17
Subject:
Re: Floating point Num addition produces rationals?
Message ID:
8e031939-6bfe-833c-ca22-9c8869f4b9d7@wakelift.de
Here's a C program that simulates exactly how rakudo creates nums from
strings and shows the same problem:

https://gist.github.com/zoffixznet/46ae8dd7d85096d58dc557f60f82a179

Here's an IRC conversation with the author of the post you linked to
followed by investigation and discovery of this problem:

https://irclog.perlgeek.de/perl6/2017-07-13#i_14864050

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About