HEX

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit - prohibited by configuration in /home/u547966/brikov.ru/www/wp-content/plugins/admin-menu-editor/menu-editor.php on line 745
Server: Apache
System: Linux 4.19.0-0.bpo.9-amd64 x86_64 at red40
User: u547966 (5490)
PHP: 5.3.29-mh2
Disabled: syslog, dl, popen, proc_open, proc_nice, proc_get_status, proc_close, proc_terminate, posix_mkfifo, chown, chgrp, accelerator_reset, opcache_reset, accelerator_get_status, opcache_get_status, pcntl_alarm, pcntl_fork, pcntl_waitpid, pcntl_wait, pcntl_wifexited, pcntl_wifstopped, pcntl_wifsignaled, pcntl_wifcontinued, pcntl_wexitstatus, pcntl_wtermsig, pcntl_wstopsig, pcntl_signal, pcntl_signal_dispatch, pcntl_get_last_error, pcntl_strerror, pcntl_sigprocmask, pcntl_sigwaitinfo, pcntl_sigtimedwait, pcntl_exec, pcntl_getpriority, pcntl_setpriority
Upload Files
File: //usr/lib/python3.5/__pycache__/numbers.cpython-35.pyc


Fa(@sdZddlmZmZdddddgZGdddd	eZGd
ddeZejeGdddeZ	e	je
Gddde	ZGd
ddeZeje
dS)z~Abstract Base Classes (ABCs) for numbers, according to PEP 3141.

TODO: Fill out more detailed documentation on the operators.)ABCMetaabstractmethodNumberComplexRealRationalIntegralc@s"eZdZdZfZdZdS)rzAll numbers inherit from this class.

    If you just want to check if an argument x is a number, without
    caring what kind, use isinstance(x, Number).
    N)__name__
__module____qualname____doc__	__slots____hash__rr/usr/lib/python3.5/numbers.pyrs	metaclassc@sleZdZdZfZeddZddZeeddZ	eedd	Z
ed
dZedd
ZeddZ
eddZddZddZeddZeddZeddZeddZeddZed d!Zed"d#Zed$d%Zed&d'Zd(S))raaComplex defines the operations that work on the builtin complex type.

    In short, those are: a conversion to complex, .real, .imag, +, -,
    *, /, abs(), .conjugate, ==, and !=.

    If it is given heterogenous arguments, and doesn't have special
    knowledge about them, it should fall back to the builtin complex
    type as described below.
    cCsdS)z<Return a builtin complex instance. Called for complex(self).Nr)selfrrr__complex__-szComplex.__complex__cCs
|dkS)z)True if self != 0. Called for bool(self).rr)rrrr__bool__1szComplex.__bool__cCs
tdS)zXRetrieve the real component of this number.

        This should subclass Real.
        N)NotImplementedError)rrrrreal5szComplex.realcCs
tdS)z]Retrieve the imaginary component of this number.

        This should subclass Real.
        N)r)rrrrimag>szComplex.imagcCs
tdS)zself + otherN)r)rotherrrr__add__GszComplex.__add__cCs
tdS)zother + selfN)r)rrrrr__radd__LszComplex.__radd__cCs
tdS)z-selfN)r)rrrr__neg__QszComplex.__neg__cCs
tdS)z+selfN)r)rrrr__pos__VszComplex.__pos__cCs	||S)zself - otherr)rrrrr__sub__[szComplex.__sub__cCs	||S)zother - selfr)rrrrr__rsub___szComplex.__rsub__cCs
tdS)zself * otherN)r)rrrrr__mul__cszComplex.__mul__cCs
tdS)zother * selfN)r)rrrrr__rmul__hszComplex.__rmul__cCs
tdS)z5self / other: Should promote to float when necessary.N)r)rrrrr__truediv__mszComplex.__truediv__cCs
tdS)zother / selfN)r)rrrrr__rtruediv__rszComplex.__rtruediv__cCs
tdS)zBself**exponent; should promote to float or complex when necessary.N)r)rexponentrrr__pow__wszComplex.__pow__cCs
tdS)zbase ** selfN)r)rbaserrr__rpow__|szComplex.__rpow__cCs
tdS)z7Returns the Real distance from 0. Called for abs(self).N)r)rrrr__abs__szComplex.__abs__cCs
tdS)z$(x+y*i).conjugate() returns (x-y*i).N)r)rrrr	conjugateszComplex.conjugatecCs
tdS)z
self == otherN)r)rrrrr__eq__szComplex.__eq__N)r	r
rrr
rrrpropertyrrrrrrrrrr r!r"r$r&r'r(r)rrrrr s.	c@s9eZdZdZfZeddZeddZeddZedd	Z	ed
ddZ
d
dZddZeddZ
eddZeddZeddZeddZeddZddZedd Zed!d"Zd#d$Zd
S)%rzTo Complex, Real adds the operations that work on real numbers.

    In short, those are: a conversion to float, trunc(), divmod,
    %, <, <=, >, and >=.

    Real also provides defaults for the derived operations.
    cCs
tdS)zTAny Real can be converted to a native float object.

        Called for float(self).N)r)rrrr	__float__szReal.__float__cCs
tdS)aGtrunc(self): Truncates self to an Integral.

        Returns an Integral i such that:
          * i>0 iff self>0;
          * abs(i) <= abs(self);
          * for any Integral j satisfying the first two conditions,
            abs(i) >= abs(j) [i.e. i has "maximal" abs among those].
        i.e. "truncate towards 0".
        N)r)rrrr	__trunc__szReal.__trunc__cCs
tdS)z$Finds the greatest Integral <= self.N)r)rrrr	__floor__szReal.__floor__cCs
tdS)z!Finds the least Integral >= self.N)r)rrrr__ceil__sz
Real.__ceil__NcCs
tdS)zRounds self to ndigits decimal places, defaulting to 0.

        If ndigits is omitted or None, returns an Integral, otherwise
        returns a Real. Rounds half toward even.
        N)r)rZndigitsrrr	__round__szReal.__round__cCs||||fS)zdivmod(self, other): The pair (self // other, self % other).

        Sometimes this can be computed faster than the pair of
        operations.
        r)rrrrr
__divmod__szReal.__divmod__cCs||||fS)zdivmod(other, self): The pair (self // other, self % other).

        Sometimes this can be computed faster than the pair of
        operations.
        r)rrrrr__rdivmod__szReal.__rdivmod__cCs
tdS)z)self // other: The floor() of self/other.N)r)rrrrr__floordiv__szReal.__floordiv__cCs
tdS)z)other // self: The floor() of other/self.N)r)rrrrr
__rfloordiv__szReal.__rfloordiv__cCs
tdS)zself % otherN)r)rrrrr__mod__szReal.__mod__cCs
tdS)zother % selfN)r)rrrrr__rmod__sz
Real.__rmod__cCs
tdS)zRself < other

        < on Reals defines a total ordering, except perhaps for NaN.N)r)rrrrr__lt__szReal.__lt__cCs
tdS)z
self <= otherN)r)rrrrr__le__szReal.__le__cCstt|S)z(complex(self) == complex(float(self), 0))complexfloat)rrrrrszReal.__complex__cCs|
S)z&Real numbers are their real component.r)rrrrrsz	Real.realcCsdS)z)Real numbers have no imaginary component.rr)rrrrrsz	Real.imagcCs|
S)zConjugate is a no-op for Reals.r)rrrrr(szReal.conjugate)r	r
rrr
rr+r,r-r.r/r0r1r2r3r4r5r6r7rr*rrr(rrrrrs(
c@sXeZdZdZfZeeddZeeddZddZ	dS)	rz6.numerator and .denominator should be in lowest terms.cCs
tdS)N)r)rrrr	numeratorszRational.numeratorcCs
tdS)N)r)rrrrdenominatorszRational.denominatorcCs|j|jS)afloat(self) = self.numerator / self.denominator

        It's important that this conversion use the integer's "true"
        division rather than casting one side to float before dividing
        so that ratios of huge integers convert without overflowing.

        )r:r;)rrrrr+szRational.__float__N)
r	r
rrr
r*rr:r;r+rrrrrsc@sEeZdZdZfZeddZddZedddZed	d
Z	eddZ
ed
dZeddZeddZ
eddZeddZeddZeddZeddZeddZdd Zed!d"Zed#d$ZdS)%rz@Integral adds a conversion to int and the bit-string operations.cCs
tdS)z	int(self)N)r)rrrr__int__+szIntegral.__int__cCs
t|S)z6Called whenever an index is needed, such as in slicing)int)rrrr	__index__0szIntegral.__index__NcCs
tdS)a4self ** exponent % modulus, but maybe faster.

        Accept the modulus argument if you want to support the
        3-argument version of pow(). Raise a TypeError if exponent < 0
        or any argument isn't Integral. Otherwise, just implement the
        2-argument version described in Complex.
        N)r)rr#modulusrrrr$4s	zIntegral.__pow__cCs
tdS)z
self << otherN)r)rrrrr
__lshift__?szIntegral.__lshift__cCs
tdS)z
other << selfN)r)rrrrr__rlshift__DszIntegral.__rlshift__cCs
tdS)z
self >> otherN)r)rrrrr
__rshift__IszIntegral.__rshift__cCs
tdS)z
other >> selfN)r)rrrrr__rrshift__NszIntegral.__rrshift__cCs
tdS)zself & otherN)r)rrrrr__and__SszIntegral.__and__cCs
tdS)zother & selfN)r)rrrrr__rand__XszIntegral.__rand__cCs
tdS)zself ^ otherN)r)rrrrr__xor__]szIntegral.__xor__cCs
tdS)zother ^ selfN)r)rrrrr__rxor__bszIntegral.__rxor__cCs
tdS)zself | otherN)r)rrrrr__or__gszIntegral.__or__cCs
tdS)zother | selfN)r)rrrrr__ror__lszIntegral.__ror__cCs
tdS)z~selfN)r)rrrr
__invert__qszIntegral.__invert__cCstt|S)zfloat(self) == float(int(self)))r9r=)rrrrr+wszIntegral.__float__cCs|
S)z"Integers are their own numerators.r)rrrrr:{szIntegral.numeratorcCsdS)z!Integers have a denominator of 1.r)rrrrr;szIntegral.denominator)r	r
rrr
rr<r>r$r@rArBrCrDrErFrGrHrIrJr+r*r:r;rrrrr&s(
N)rabcrr__all__rrregisterr8rr9rrr=rrrr<module>sp
u
_