Thanks again.
I'm trying to get proficiency in Raku by converting some Python programs
mine in Raku.
On Mon, Jun 22, 2020 at 6:41 PM Tobias Boege wrote:
> On Mon, 22 Jun 2020, Aureliano Guedes wrote:
> > Thank you for the clarification.
> >
> > There is a method to set Rat precision at the
On Mon, 22 Jun 2020, Aureliano Guedes wrote:
> Thank you for the clarification.
>
> There is a method to set Rat precision at the scope of the program to apply
> to all *.Rat() cases?
>
I don't know, based on a quick search in the documentation, of any global
setting. The hacky solution would
Thank you for the clarification.
There is a method to set Rat precision at the scope of the program to apply
to all *.Rat() cases?
On Mon, Jun 22, 2020 at 5:57 PM Tobias Boege wrote:
> On Mon, 22 Jun 2020, Aureliano Guedes wrote:
> > Hi all,
> >
> > First, I'm naive in Raku. Then let's go to
On Mon, 22 Jun 2020, Aureliano Guedes wrote:
> Hi all,
>
> First, I'm naive in Raku. Then let's go to my question.
>
> I'm trying to figure out why we got so different results here:
>
> > e.Rat()**(pi.Rat()*i)
> -0.9902-1.3942922582021257e-07i
> > e**(pi*i)
>
Hi all,
First, I'm naive in Raku. Then let's go to my question.
I'm trying to figure out why we got so different results here:
> e.Rat()**(pi.Rat()*i)
-0.9902-1.3942922582021257e-07i
> e**(pi*i)
-1+1.2246467991473532e-16i
> e.Rat()**(pi.Rat()*i) == e**(pi*i)
False
I understand the