The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Sidef::Types::Number::Number

DESCRIPTION

This object is ...

SYNOPSIS

var obj = Number.new(...);

INHERITS

Inherits methods from:

        * Sidef::Object::Object
        * Sidef::Convert::Convert

METHODS

!

Obj ! Obj -> Obj

Return the

Aliases: fact, factorial

%

Obj % Obj -> Obj

Return the

Aliases: mod

%%

Obj %% Obj -> Obj

Return the

Aliases: is_div, isDiv

&

Obj & Obj -> Obj

Return the

Aliases: and

*

Obj * Obj -> Obj

Return the

Aliases: x, multiply

**

Obj ** Obj -> Obj

Return the

Aliases: pow

+

Obj + Obj -> Obj

Return the

Aliases: add

++

Obj ++ Obj -> Obj

Return the

Aliases: inc

-

Obj - Obj -> Obj

Return the

Aliases: subtract

--

Obj -- Obj -> Obj

Return the

Aliases: dec

..

Obj .. Obj -> Obj

Return the

Aliases: arr_to, array_to

/

Obj / Obj -> Obj

Return the

Aliases: ÷(), div

:

Obj : Obj -> Obj

Return the

Aliases: c, complex

<

Obj < Obj -> Obj

Return the

Aliases: lt

<<

Obj << Obj -> Obj

Return the

Aliases: shift_left, shiftLeft

<=>

Obj <=> Obj -> Obj

Return the

Aliases: cmp

=

Obj = Obj -> Obj

Return the

Aliases: ==(), eq, equals

>

Obj > Obj -> Obj

Return the

Aliases: gt

>>

Obj >> Obj -> Obj

Return the

Aliases: shift_right, shiftRight

^

Obj ^ Obj -> Obj

Return the

Aliases: xor

^..

Obj ^.. Obj -> Obj

Return the

Aliases: downto, downTo

abs

Number.abs() -> Obj

Return the

Aliases: pos, positive

acmp

Number.acmp() -> Obj

Return the

arr_downto

Number.arr_downto() -> Obj

Return the

Aliases: array_downto

as_bin

Number.as_bin() -> Obj

Return the

Aliases: to_bin

as_hex

Number.as_hex() -> Obj

Return the

Aliases: to_hex

as_oct

Number.as_oct() -> Obj

Return the

Aliases: to_oct

bin

Number.bin() -> Obj

Return the

Aliases: from_bin

ceil

Number.ceil() -> Obj

Return the

chr

Number.chr() -> Obj

Return the

comb

Number.comb() -> Obj

Return the

commify

Number.commify() -> Obj

Return the

cos

Number.cos() -> Obj

Return the

digit

Number.digit() -> Obj

Return the

divmod

Number.divmod() -> Obj

Return the

dump

Number.dump() -> Obj

Return the

exp

Number.exp() -> Obj

Return the

floor

Number.floor() -> Obj

Return the

fround

Number.fround() -> Obj

Return the

Aliases: fRound, roundf

hex

Number.hex() -> Obj

Return the

Aliases: from_hex

i

Number.i() -> Obj

Return the

inf

Number.inf() -> Obj

Return the

int

Number.int() -> Obj

Return the

Aliases: as_int

is_even

Number.is_even() -> Obj

Return the

Aliases: isEven

is_inf

Number.is_inf() -> Obj

Return the

Aliases: isInf, is_infinite, isInfinite

is_int

Number.is_int() -> Obj

Return the

Aliases: isInt, is_integer, isInteger

is_nan

Number.is_nan() -> Obj

Return the

Aliases: is_NaN, isNaN

is_neg

Number.is_neg() -> Obj

Return the

Aliases: isNeg, is_negative, isNegative

is_odd

Number.is_odd() -> Obj

Return the

Aliases: isOdd

is_pos

Number.is_pos() -> Obj

Return the

Aliases: isPos, is_positive, isPositive

is_zero

Number.is_zero() -> Obj

Return the

Aliases: isZero

len

Number.len() -> Obj

Return the

Aliases: length

log

Number.log() -> Obj

Return the

log10

Number.log10() -> Obj

Return the

log2

Number.log2() -> Obj

Return the

max

Number.max() -> Obj

Return the

min

Number.min() -> Obj

Return the

modpow

Number.modpow() -> Obj

Return the

nan

Number.nan() -> Obj

Return the

Aliases: NaN

neg

Number.neg() -> Obj

Return the

Aliases: negate

new

Number.new() -> Obj

Return the

Aliases: new_float

new_int

Number.new_int() -> Obj

Return the

new_rat

Number.new_rat() -> Obj

Return the

nok

Number.nok() -> Obj

Return the

npow

Number.npow() -> Obj

Return the

Aliases: next_power_of

npow2

Number.npow2() -> Obj

Return the

Aliases: next_power_of_two

oct

Number.oct() -> Obj

Return the

Aliases: from_oct

of

Number.of() -> Obj

Return the

rand

Number.rand() -> Obj

Return the

range

Number.range() -> Obj

Return the

root

Number.root() -> Obj

Return the

round

Number.round() -> Obj

Return the

sign

Number.sign() -> Obj

Return the

sin

Number.sin() -> Obj

Return the

sqrt

Number.sqrt() -> Obj

Return the

sstr

Number.sstr() -> Obj

Return the

times

Number.times() -> Obj

Return the

to

Number.to() -> Obj

Return the

Aliases: ...(), ..^(), upto, upTo

|

Obj | Obj -> Obj

Return the

Aliases: or

~

Obj ~ Obj -> Obj

Return the

Aliases: not

Obj Obj -> Obj

Return the

Aliases: !=(), ne

Obj Obj -> Obj

Return the

Aliases: <=, le

Obj Obj -> Obj

Return the

Aliases: >=, ge