Perl Cd Bookshelf [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Perl Cd Bookshelf [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید



8.142. Math::BigFloat


Provides methods that permit use of
floating-point numbers of arbitrary length. The following apply to
all methods, except as noted:


new


$f = Math::BigFloat->new(string)

Creates a new object,
$f.

fabs


$f->fabs( )

Returns absolute value of
$f.

fadd


$f->fadd(nstr)

Returns sum of nstr and
$f.

fcmp


$f->fcmp(nstr)

Compares $f to
nstr. Returns -1,
0, or 1 depending on whether
$f is less than, equal
to, or greater than nstr, or
undef if nstr is not a
number.

fdiv


$f->fdiv(nstr[,n])

Returns $f divided by
nstr to nplaces. If scale (the number of digits) is
unspecified, division is computed to the number of digits given by:

max($div_scale, length(dividend)+length(divisor))

ffround


$f->ffround(n)

Returns $f rounded at
nth place.

fmul


$f->fmul(nstr)

Returns $f multiplied
by nstr.

fneg


$f->fneg( )

Returns negative of $f.

fnorm


$f->fnorm( )

Returns normalization of
$f.

fround


$f->fround(n)

Returns value of $frounded to n digits.

fsqrt


$f->fsqrt([n])

Returns square root of
$f to
n places.

fsub


$f->fsub(nstr)

Returns $f minus
nstr.



8.141. locale8.143. Math::BigInt




Copyright © 2002 O'Reilly & Associates. All rights reserved.

/ 875