|
__init__(self,
*xs,
**name_NN)
New Fsum
for running precision floating point summation. |
|
|
|
__abs__(self)
Return this instance' absolute value as an Fsum. |
|
|
|
__add__(self,
other)
Return the sum self + other as an Fsum. |
|
|
|
|
|
__bool__(self)
Return True if this instance is non-zero. |
|
|
|
__ceil__(self)
Return this instance' math.ceil as int or
float . |
|
|
|
__divmod__(self,
other)
Return divmod(self, other) as 2-tuple
(quotient, remainder) , an int in Python 3+
or float in Python 2- and an Fsum. |
|
|
|
__eq__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
__float__(self)
Return this instance' current precision running sum as
float or int . |
|
|
|
__floor__(self)
Return this instance' math.floor as int or
float . |
|
|
|
|
|
|
|
__ge__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
__gt__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
__hash__(self)
Return this instance' hash . |
|
|
|
__iadd__(self,
other)
Apply self += other to this instance. |
|
|
|
__ifloordiv__(self,
other)
Apply self //= other to this instance. |
|
|
|
|
|
__imod__(self,
other)
Apply self %= other to this instance. |
|
|
|
__imul__(self,
other)
Apply self *= other to this instance. |
|
|
|
__int__(self)
Return this instance as an int . |
|
|
|
__ipow__(self,
other,
*mod)
Apply self **= other to this instance. |
|
|
|
__isub__(self,
other)
Apply self -= other to this instance. |
|
|
|
__iter__(self)
Return an iter ator over a partials
duplicate. |
|
|
|
__itruediv__(self,
other)
Apply self /= other to this instance. |
|
|
|
__le__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
__len__(self)
Return the total number of values accumulated
(int ). |
|
|
|
__lt__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
|
|
|
|
|
|
__ne__(self,
other)
Compare this with an other instance or scalar. |
|
|
|
__neg__(self)
Return a copy of this instance, negated. |
|
|
|
__pos__(self)
Return this instance as-is, like float.__pos__() . |
|
|
|
__pow__(self,
other,
*mod)
Return self**other as an Fsum. |
|
|
|
|
|
__rdivmod__(self,
other)
Return divmod(other, self) as 2-tuple
(quotient, remainder) . |
|
|
|
|
|
|
|
|
|
|
|
__round__(self,
ndigits=None)
Not implemented. |
|
|
|
|
|
|
|
|
int
|
__sizeof__(self)
Return the size of this instance in bytes . |
|
|
|
__str__(self)
Return the default str(this) . |
|
|
|
|
|
|
|
__trunc__(self)
Return this instance as an int . |
|
|
|
|
|
__idiv__(self,
other)
Apply self /= other to this instance. |
|
|
|
__long__(self)
Return this instance as an int . |
|
|
|
__nonzero__(self)
Return True if this instance is non-zero. |
|
|
|
|
|
divmod(self,
other)
Return divmod(self, other) as 2-tuple
(quotient, remainder) . |
|
|
|
fadd(self,
xs)
Accumulate more scalar values from an iterable. |
|
|
|
fadd_(self,
*xs)
Accumulate more scalar values from positional arguments. |
|
|
|
_fadd_(self,
*xs)
(INTERNAL) Add all positional, known scalar s. |
|
|
|
fcopy(self,
deep=False,
name='')
Copy this instance, shallow or deep . |
|
|
|
copy(self,
deep=False,
name='')
Copy this instance, shallow or deep . |
|
|
|
fdiv(self,
other)
Apply self /= other to this instance. |
|
|
|
fdivmod(self,
other)
Return divmod(self, other) as 2-tuple
(quotient, remainder) , an int in Python 3+
or float in Python 2- and an Fsum. |
|
|
|
fmul(self,
other)
Apply self *= other to this instance. |
|
|
|
fpow(self,
other,
*mod)
Apply self **= other to this instance. |
|
|
|
fsub(self,
xs)
Subtract several values. |
|
|
|
fsub_(self,
*xs)
Subtract any positional value. |
|
|
|
fsum(self,
xs=None)
Add None or several values and sum all. |
|
|
|
fsum_(self,
*xs)
Add any positional value and sum all. |
|
|
|
fsum2(self,
xs=None)
Add None or several values and return the current
precision running sum and residual. |
|
|
|
fsum2_(self,
*xs)
Add any positional value and return the current precision running sum
and delta , the increment. |
|
|
|
is_exact(self)
Is this instance' precision running fsum considered to
be exact? (bool ). |
|
|
|
is_integer(self)
Return True if this instance is an integer,
False otherwise. |
|
|
|
is_math_fsum(self)
Return True if functions fsum ,
fsum _, fsum1 and fsum1_ are
all based on Python's math.fsum , False
otherwise. |
|
|
|
pow(self,
x)
Return self**x as Fsum. |
|
|
|
signOf(self,
res=True)
Determine the sign of this instance. |
|
|
|
toRepr(self,
prec=6,
sep=', ',
fmt='g',
**unused)
Return this Fsum instance as representation. |
|
|
|
toStr(self,
prec=6,
sep=', ',
fmt='g',
**unused)
Return this Fsum instance as string. |
|
|
Inherited from named._Named :
_DOT_ ,
__repr__ ,
attrs ,
classof ,
dup ,
rename ,
toStr2
Inherited from object :
__delattr__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__subclasshook__
|