develooper Front page | perl.perl6.users | Postings from November 2021

Re: how do I turn a real into and array of Integers?

Thread Previous | Thread Next
From:
ToddAndMargo via perl6-users
Date:
November 1, 2021 01:51
Subject:
Re: how do I turn a real into and array of Integers?
Message ID:
a0b5b692-37c7-4c97-1bbf-37f1b5d49875@zoho.com

>> How do I get more digits out of sqrt?


On 10/31/21 17:50, Kevin Pye wrote:
 > You don't.
 >
 > sqrt is a function which acts on 64-bit floating point numbers, and 
there's no more meaningful digits available. If you need more precision 
you're on your own.


Dang!  I was hoping ther was some thing like UInt.


Thread Previous | Thread Next


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