| parrotcode: C<Num>-like functions and methods for C<Any> | |
| Contents | Language Implementations | Perl6 |

src/builtins/any_num.pir - Num-like functions and methods for Any

This file implements the methods and functions of Any that are most closely associated with the Num class or role.
We place them here instead of src/classes/Any.pir to keep the size of that file down and to emphasize their generic,
"built-in" nature.

our Num multi Num::log ( Num $x: Num :$base )
our Num multi Math::Basic::log ( Num $x, Num :$base )
$base, default Natural. Calling with $x == 0 is an error.
|
|
|