NAME

Sidef::Types::Number::Number

DESCRIPTION

This object is ...

SYNOPSIS

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

INHERITS

Inherits methods from:

* Sidef::Object::Object

METHODS

!

Obj ! Obj -> Obj

Return the

Aliases: fac, factorial

!!

Obj !! Obj -> Obj

Return the

Aliases: dfac, dfactorial, double_factorial

%

Obj % Obj -> Obj

Return the

Aliases: mod

%%

Obj %% Obj -> Obj

Return the

Aliases: is_div

&

Obj & Obj -> Obj

Return the

Aliases: and

*

Obj * Obj -> Obj

Return the

Aliases: mul

**

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: sub

--

Obj -- Obj -> Obj

Return the

Aliases: dec

..

Obj .. Obj -> Obj

Return the

Aliases: to, upto

..^

Obj ..^ Obj -> Obj

Return the

Aliases: xto, xupto

/

Obj / Obj -> Obj

Return the

Aliases: ÷(), div

//

Obj // Obj -> Obj

Return the

Aliases: idiv

:

Obj : Obj -> Obj

Return the

Aliases: pair

<

Obj < Obj -> Obj

Return the

Aliases: lt

<<

Obj << Obj -> Obj

Return the

Aliases: lsft, shift_left

<=>

Obj <=> Obj -> Obj

Return the

Aliases: cmp

==

Obj == Obj -> Obj

Return the

Aliases: eq

>

Obj > Obj -> Obj

Return the

Aliases: gt

>>

Obj >> Obj -> Obj

Return the

Aliases: rsft, shift_right

^

Obj ^ Obj -> Obj

Return the

Aliases: xor

^..

Obj ^.. Obj -> Obj

Return the

Aliases: xdownto

abs

Number.abs() -> Obj

Return the

acos

Number.acos() -> Obj

Return the

acosh

Number.acosh() -> Obj

Return the

acot

Number.acot() -> Obj

Return the

acoth

Number.acoth() -> Obj

Return the

acsc

Number.acsc() -> Obj

Return the

acsch

Number.acsch() -> Obj

Return the

agm

Number.agm() -> Obj

Return the

ai

Number.ai() -> Obj

Return the

Aliases: airy

as_bin

Number.as_bin() -> Obj

Return the

as_cfrac

Number.as_cfrac() -> Obj

Return the

as_dec

Number.as_dec() -> Obj

Return the

Aliases: as_float

asec

Number.asec() -> Obj

Return the

asech

Number.asech() -> Obj

Return the

as_frac

Number.as_frac() -> Obj

Return the

as_hex

Number.as_hex() -> Obj

Return the

asin

Number.asin() -> Obj

Return the

asinh

Number.asinh() -> Obj

Return the

as_int

Number.as_int() -> Obj

Return the

as_oct

Number.as_oct() -> Obj

Return the

as_rat

Number.as_rat() -> Obj

Return the

atan

Number.atan() -> Obj

Return the

atan2

Number.atan2() -> Obj

Return the

atanh

Number.atanh() -> Obj

Return the

base

Number.base() -> Obj

Return the

Aliases: in_base

bell

Number.bell() -> Obj

Return the

bern

Number.bern() -> Obj

Return the

Aliases: bernfrac, bernoulli

bernreal

Number.bernreal() -> Obj

Return the

bessel_j

Number.bessel_j() -> Obj

Return the

bessel_y

Number.bessel_y() -> Obj

Return the

beta

Number.beta() -> Obj

Return the

C

Number.C() -> Obj

Return the

Aliases: catalan

carmichael_lambda

Number.carmichael_lambda() -> Obj

Return the

cbrt

Number.cbrt() -> Obj

Return the

ceil

Number.ceil() -> Obj

Return the

chr

Number.chr() -> Obj

Return the

circular_permutations

Number.circular_permutations() -> Obj

Return the

cis

Number.cis() -> Obj

Return the

combinations

Number.combinations() -> Obj

Return the

combinations_with_repetition

Number.combinations_with_repetition() -> Obj

Return the

commify

Number.commify() -> Obj

Return the

complex

Number.complex() -> Obj

Return the

conj

Number.conj() -> Obj

Return the

Aliases: conjug, conjugate

convergents

Number.convergents() -> Obj

Return the

cos

Number.cos() -> Obj

Return the

cosh

Number.cosh() -> Obj

Return the

cot

Number.cot() -> Obj

Return the

coth

Number.coth() -> Obj

Return the

csc

Number.csc() -> Obj

Return the

csch

Number.csch() -> Obj

Return the

de

Number.de() -> Obj

Return the

Aliases: denominator

defs

Number.defs() -> Obj

Return the

deg2rad

Number.deg2rad() -> Obj

Return the

derangements

Number.derangements() -> Obj

Return the

Aliases: complete_permutations

digit

Number.digit() -> Obj

Return the

digits

Number.digits() -> Obj

Return the

divides

Number.divides() -> Obj

Return the

divisors

Number.divisors() -> Obj

Return the

divmod

Number.divmod() -> Obj

Return the

downto

Number.downto() -> Obj

Return the

dump

Number.dump() -> Obj

Return the

e

Number.e() -> Obj

Return the

ei

Number.ei() -> Obj

Return the

Aliases: eint

erf

Number.erf() -> Obj

Return the

erfc

Number.erfc() -> Obj

Return the

exp

Number.exp() -> Obj

Return the

exp10

Number.exp10() -> Obj

Return the

exp2

Number.exp2() -> Obj

Return the

exp_mangoldt

Number.exp_mangoldt() -> Obj

Return the

expmod

Number.expmod() -> Obj

Return the

Aliases: modpow, powmod

factor

Number.factor() -> Obj

Return the

Aliases: factors

factor_exp

Number.factor_exp() -> Obj

Return the

Aliases: factors_exp

factorialmod

Number.factorialmod() -> Obj

Return the

falling_factorial

Number.falling_factorial() -> Obj

Return the

faulhaber

Number.faulhaber() -> Obj

Return the

Aliases: faulhaber_sum

fib

Number.fib() -> Obj

Return the

Aliases: fibonacci

float

Number.float() -> Obj

Return the

floor

Number.floor() -> Obj

Return the

gcd

Number.gcd() -> Obj

Return the

gcdext

Number.gcdext() -> Obj

Return the

harm

Number.harm() -> Obj

Return the

Aliases: harmfrac, harmonic

harmreal

Number.harmreal() -> Obj

Return the

hypot

Number.hypot() -> Obj

Return the

i

Number.i() -> Obj

Return the

iadd

Number.iadd() -> Obj

Return the

icbrt

Number.icbrt() -> Obj

Return the

ilog

Number.ilog() -> Obj

Return the

ilog10

Number.ilog10() -> Obj

Return the

ilog2

Number.ilog2() -> Obj

Return the

im

Number.im() -> Obj

Return the

Aliases: imag, imaginary

imod

Number.imod() -> Obj

Return the

imul

Number.imul() -> Obj

Return the

inf

Number.inf() -> Obj

Return the

int

Number.int() -> Obj

Return the

Aliases: trunc

inv

Number.inv() -> Obj

Return the

invmod

Number.invmod() -> Obj

Return the

Aliases: modinv

ipolygonal_root

Number.ipolygonal_root() -> Obj

Return the

ipolygonal_root2

Number.ipolygonal_root2() -> Obj

Return the

ipow

Number.ipow() -> Obj

Return the

ipow10

Number.ipow10() -> Obj

Return the

ipow2

Number.ipow2() -> Obj

Return the

irand

Number.irand() -> Obj

Return the

iroot

Number.iroot() -> Obj

Return the

irootrem

Number.irootrem() -> Obj

Return the

is_carmichael

Number.is_carmichael() -> Obj

Return the

is_complex

Number.is_complex() -> Obj

Return the

is_coprime

Number.is_coprime() -> Obj

Return the

iseed

Number.iseed() -> Obj

Return the

is_even

Number.is_even() -> Obj

Return the

is_fundamental

Number.is_fundamental() -> Obj

Return the

is_imag

Number.is_imag() -> Obj

Return the

is_inf

Number.is_inf() -> Obj

Return the

is_int

Number.is_int() -> Obj

Return the

is_mersenne_prime

Number.is_mersenne_prime() -> Obj

Return the

is_mone

Number.is_mone() -> Obj

Return the

is_nan

Number.is_nan() -> Obj

Return the

is_neg

Number.is_neg() -> Obj

Return the

Aliases: is_negative

is_ninf

Number.is_ninf() -> Obj

Return the

is_odd

Number.is_odd() -> Obj

Return the

is_one

Number.is_one() -> Obj

Return the

is_polygonal

Number.is_polygonal() -> Obj

Return the

is_polygonal2

Number.is_polygonal2() -> Obj

Return the

is_pos

Number.is_pos() -> Obj

Return the

Aliases: is_positive

is_pow

Number.is_pow() -> Obj

Return the

Aliases: is_power

is_prime

Number.is_prime() -> Obj

Return the

is_prime_power

Number.is_prime_power() -> Obj

Return the

is_primitive_root

Number.is_primitive_root() -> Obj

Return the

is_prob_prime

Number.is_prob_prime() -> Obj

Return the

is_prov_prime

Number.is_prov_prime() -> Obj

Return the

isqrt

Number.isqrt() -> Obj

Return the

isqrtrem

Number.isqrtrem() -> Obj

Return the

is_rat

Number.is_rat() -> Obj

Return the

is_real

Number.is_real() -> Obj

Return the

is_semiprime

Number.is_semiprime() -> Obj

Return the

is_smooth

Number.is_smooth() -> Obj

Return the

is_sqr

Number.is_sqr() -> Obj

Return the

Aliases: is_square

is_square_free

Number.is_square_free() -> Obj

Return the

is_totient

Number.is_totient() -> Obj

Return the

isub

Number.isub() -> Obj

Return the

is_zero

Number.is_zero() -> Obj

Return the

jacobi

Number.jacobi() -> Obj

Return the

jordan_totient

Number.jordan_totient() -> Obj

Return the

kronecker

Number.kronecker() -> Obj

Return the

lambert_w

Number.lambert_w() -> Obj

Return the

lcm

Number.lcm() -> Obj

Return the

legendre

Number.legendre() -> Obj

Return the

len

Number.len() -> Obj

Return the

Aliases: size, length

lgamma

Number.lgamma() -> Obj

Return the

lgrt

Number.lgrt() -> Obj

Return the

li

Number.li() -> Obj

Return the

li2

Number.li2() -> Obj

Return the

liouville

Number.liouville() -> Obj

Return the

ln

Number.ln() -> Obj

Return the

ln2

Number.ln2() -> Obj

Return the

lngamma

Number.lngamma() -> Obj

Return the

log

Number.log() -> Obj

Return the

log10

Number.log10() -> Obj

Return the

log2

Number.log2() -> Obj

Return the

lucas

Number.lucas() -> Obj

Return the

make_coprime

Number.make_coprime() -> Obj

Return the

max

Number.max() -> Obj

Return the

mfac

Number.mfac() -> Obj

Return the

Aliases: mfactorial

min

Number.min() -> Obj

Return the

mone

Number.mone() -> Obj

Return the

nan

Number.nan() -> Obj

Return the

neg

Number.neg() -> Obj

Return the

new

Number.new() -> Obj

Return the

Aliases: call

next_pow

Number.next_pow() -> Obj

Return the

Aliases: next_power

next_pow2

Number.next_pow2() -> Obj

Return the

Aliases: next_power2

next_prime

Number.next_prime() -> Obj

Return the

ninf

Number.ninf() -> Obj

Return the

nok

Number.nok() -> Obj

Return the

Aliases: binomial

norm

Number.norm() -> Obj

Return the

nu

Number.nu() -> Obj

Return the

Aliases: numerator

nude

Number.nude() -> Obj

Return the

of

Number.of() -> Obj

Return the

one

Number.one() -> Obj

Return the

partitions

Number.partitions() -> Obj

Return the

perfect_power

Number.perfect_power() -> Obj

Return the

perfect_root

Number.perfect_root() -> Obj

Return the

permutations

Number.permutations() -> Obj

Return the

phi

Number.phi() -> Obj

Return the

pi

Number.pi() -> Obj

Return the

pn_primorial

Number.pn_primorial() -> Obj

Return the

polygonal

Number.polygonal() -> Obj

Return the

polygonal_root

Number.polygonal_root() -> Obj

Return the

polygonal_root2

Number.polygonal_root2() -> Obj

Return the

polymod

Number.polymod() -> Obj

Return the

popcount

Number.popcount() -> Obj

Return the

prev_prime

Number.prev_prime() -> Obj

Return the

prime

Number.prime() -> Obj

Return the

Aliases: nth_prime

prime_count

Number.prime_count() -> Obj

Return the

prime_power

Number.prime_power() -> Obj

Return the

prime_root

Number.prime_root() -> Obj

Return the

primes

Number.primes() -> Obj

Return the

primorial

Number.primorial() -> Obj

Return the

rad

Number.rad() -> Obj

Return the

rad2deg

Number.rad2deg() -> Obj

Return the

ramanujan_tau

Number.ramanujan_tau() -> Obj

Return the

rand

Number.rand() -> Obj

Return the

random_nbit_prime

Number.random_nbit_prime() -> Obj

Return the

random_ndigit_prime

Number.random_ndigit_prime() -> Obj

Return the

random_prime

Number.random_prime() -> Obj

Return the

range

Number.range() -> Obj

Return the

rat

Number.rat() -> Obj

Return the

rat_approx

Number.rat_approx() -> Obj

Return the

re

Number.re() -> Obj

Return the

Aliases: real

reals

Number.reals() -> Obj

Return the

remdiv

Number.remdiv() -> Obj

Return the

Aliases: remove

rising_factorial

Number.rising_factorial() -> Obj

Return the

root

Number.root() -> Obj

Return the

round

Number.round() -> Obj

Return the

Aliases: roundf

sec

Number.sec() -> Obj

Return the

sech

Number.sech() -> Obj

Return the

seed

Number.seed() -> Obj

Return the

sgn

Number.sgn() -> Obj

Return the

Aliases: sign

sigma0

Number.sigma0() -> Obj

Return the

sin

Number.sin() -> Obj

Return the

sin_cos

Number.sin_cos() -> Obj

Return the

sinh

Number.sinh() -> Obj

Return the

sqr

Number.sqr() -> Obj

Return the

sqrt

Number.sqrt() -> Obj

Return the

sqrtmod

Number.sqrtmod() -> Obj

Return the

square_free_count

Number.square_free_count() -> Obj

Return the

stirling

Number.stirling() -> Obj

Return the

stirling2

Number.stirling2() -> Obj

Return the

stirling3

Number.stirling3() -> Obj

Return the

subsets

Number.subsets() -> Obj

Return the

tan

Number.tan() -> Obj

Return the

tanh

Number.tanh() -> Obj

Return the

tau

Number.tau() -> Obj

Return the

times

Number.times() -> Obj

Return the

tuples

Number.tuples() -> Obj

Return the

Aliases: variations

tuples_with_repetition

Number.tuples_with_repetition() -> Obj

Return the

Aliases: variations_with_repetition

valuation

Number.valuation() -> Obj

Return the

Y

Number.Y() -> Obj

Return the

Aliases: γ, euler

zero

Number.zero() -> Obj

Return the

znorder

Number.znorder() -> Obj

Return the

znprimroot

Number.znprimroot() -> Obj

Return the

|

Obj | Obj -> Obj

Return the

Aliases: or

~

Obj ~ Obj -> Obj

Return the

Aliases: not

Γ

Number.Γ() -> Obj

Return the

Aliases: gamma

ζ

Number.ζ() -> Obj

Return the

Aliases: zeta

η

Number.η() -> Obj

Return the

Aliases: eta

μ

Number.μ() -> Obj

Return the

Aliases: mobius, moebius

σ

Number.σ() -> Obj

Return the

Aliases: sigma

Ψ

Number.Ψ() -> Obj

Return the

Aliases: digamma

Ω

Number.Ω() -> Obj

Return the

Aliases: big_omega

ω

Number.ω() -> Obj

Return the

Aliases: omega

ϕ

Number.ϕ() -> Obj

Return the

Aliases: totient, euler_phi, euler_totient

Obj Obj -> Obj

Return the

Aliases: !=(), ne

Obj Obj -> Obj

Return the

Aliases: <=, le

Obj Obj -> Obj

Return the

Aliases: >=, ge