On Sun, Dec 20, 2020 at 02:05 ToddAndMargo via perl6-users
<perl6-us...@perl.org <mailto:perl6-us...@perl.org>> wrote:
Hi All,
Why does this work?
say (45*π/180).cos
0.7071067811865476
And this not?
say 45*π/180.cos
-236.22573454917193
Is not the math suppose to be done first?
Confused again,
-T
On 12/20/20 3:35 AM, Tom Browder wrote:
(45*pi/180).cos
Hi Tom,
I was not asking for the how, I was asking
for the shy one work and the other did not.
Apparetly
45*π/180.cos
is the same as this
45*π/(180.cos)
-T