in reply to Re^3: RFC: Math::Triangle (Perl 6)
in thread RFC: Math::Triangle (Perl 6)
Also it behaves like a number where it makes sense.say 75°.radians; # yes the ° is a custom constructor. alternatively Ma +th::Angle.new(degrees=>75).radians;
Or evenok 75° < Math::Angle.new(radians => pi);
ok 75° + 75° == 150°;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: RFC: Math::Triangle (Perl 6)
by salva (Canon) on Sep 18, 2017 at 14:48 UTC | |
by holli (Abbot) on Sep 18, 2017 at 15:20 UTC | |
by pryrt (Abbot) on Sep 18, 2017 at 16:54 UTC | |
by gsiems (Deacon) on Sep 18, 2017 at 16:59 UTC | |
by soonix (Chancellor) on Sep 18, 2017 at 16:58 UTC |