NAME ^

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

DESCRIPTION ^

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.

Methods ^

abs()

cis($angle)

polar

rand()

sqrt()

srand()

truncate()

int

unpolar($angle)


parrot