3 \(@sddlmZmZdddddgZGdddedZGd ddeZejeGd ddeZeje Gd ddeZ Gd dde Z e je d S))ABCMetaabstractmethodNumberComplexRealRationalIntegralc@seZdZfZdZdS)rN)__name__ __module__ __qualname__ __slots____hash__rr/usr/lib64/python3.6/numbers.pyr s) metaclassc@seZdZfZeddZddZeeddZeeddZ ed d Z ed d Z ed dZ eddZ ddZddZeddZeddZeddZeddZeddZedd Zed!d"Zed#d$Zed%d&Zd'S)(rcCsdS)Nr)selfrrr __complex__-szComplex.__complex__cCs|dkS)Nrr)rrrr__bool__1szComplex.__bool__cCstdS)N)NotImplementedError)rrrrreal5sz Complex.realcCstdS)N)r)rrrrimag>sz Complex.imagcCstdS)N)r)rotherrrr__add__GszComplex.__add__cCstdS)N)r)rrrrr__radd__LszComplex.__radd__cCstdS)N)r)rrrr__neg__QszComplex.__neg__cCstdS)N)r)rrrr__pos__VszComplex.__pos__cCs || S)Nr)rrrrr__sub__[szComplex.__sub__cCs | |S)Nr)rrrrr__rsub___szComplex.__rsub__cCstdS)N)r)rrrrr__mul__cszComplex.__mul__cCstdS)N)r)rrrrr__rmul__hszComplex.__rmul__cCstdS)N)r)rrrrr __truediv__mszComplex.__truediv__cCstdS)N)r)rrrrr __rtruediv__rszComplex.__rtruediv__cCstdS)N)r)rexponentrrr__pow__wszComplex.__pow__cCstdS)N)r)rbaserrr__rpow__|szComplex.__rpow__cCstdS)N)r)rrrr__abs__szComplex.__abs__cCstdS)N)r)rrrr conjugateszComplex.conjugatecCstdS)N)r)rrrrr__eq__szComplex.__eq__N)r r r r rrrpropertyrrrrrrrrrrr r!r#r%r&r'r(rrrrr s,              c@seZdZfZeddZeddZeddZeddZed$d d Z d d Z ddZ eddZ eddZ eddZeddZeddZeddZddZeddZed d!Zd"d#Zd S)%rcCstdS)N)r)rrrr __float__szReal.__float__cCstdS)N)r)rrrr __trunc__s zReal.__trunc__cCstdS)N)r)rrrr __floor__szReal.__floor__cCstdS)N)r)rrrr__ceil__sz Real.__ceil__NcCstdS)N)r)rZndigitsrrr __round__szReal.__round__cCs||||fS)Nr)rrrrr __divmod__szReal.__divmod__cCs||||fS)Nr)rrrrr __rdivmod__szReal.__rdivmod__cCstdS)N)r)rrrrr __floordiv__szReal.__floordiv__cCstdS)N)r)rrrrr __rfloordiv__szReal.__rfloordiv__cCstdS)N)r)rrrrr__mod__sz Real.__mod__cCstdS)N)r)rrrrr__rmod__sz Real.__rmod__cCstdS)N)r)rrrrr__lt__sz Real.__lt__cCstdS)N)r)rrrrr__le__sz Real.__le__cCs tt|S)N)complexfloat)rrrrrszReal.__complex__cCs| S)Nr)rrrrrsz Real.realcCsdS)Nrr)rrrrrsz Real.imagcCs| S)Nr)rrrrr'szReal.conjugate)N)r r r r rr*r+r,r-r.r/r0r1r2r3r4r5r6rr)rrr'rrrrrs&             c@s8eZdZfZeeddZeeddZddZdS)rcCstdS)N)r)rrrr numeratorszRational.numeratorcCstdS)N)r)rrrr denominatorszRational.denominatorcCs |j|jS)N)r9r:)rrrrr*szRational.__float__N) r r r r r)rr9r:r*rrrrr s c@seZdZfZeddZddZed$ddZedd Zed d Z ed d Z eddZ eddZ eddZ eddZeddZeddZeddZeddZddZed d!Zed"d#ZdS)%rcCstdS)N)r)rrrr__int__+szIntegral.__int__cCst|S)N)int)rrrr __index__0szIntegral.__index__NcCstdS)N)r)rr"modulusrrrr#4s zIntegral.__pow__cCstdS)N)r)rrrrr __lshift__?szIntegral.__lshift__cCstdS)N)r)rrrrr __rlshift__DszIntegral.__rlshift__cCstdS)N)r)rrrrr __rshift__IszIntegral.__rshift__cCstdS)N)r)rrrrr __rrshift__NszIntegral.__rrshift__cCstdS)N)r)rrrrr__and__SszIntegral.__and__cCstdS)N)r)rrrrr__rand__XszIntegral.__rand__cCstdS)N)r)rrrrr__xor__]szIntegral.__xor__cCstdS)N)r)rrrrr__rxor__bszIntegral.__rxor__cCstdS)N)r)rrrrr__or__gszIntegral.__or__cCstdS)N)r)rrrrr__ror__lszIntegral.__ror__cCstdS)N)r)rrrr __invert__qszIntegral.__invert__cCs tt|S)N)r8r<)rrrrr*wszIntegral.__float__cCs| S)Nr)rrrrr9{szIntegral.numeratorcCsdS)Nr)rrrrr:szIntegral.denominator)N)r r r r rr;r=r#r?r@rArBrCrDrErFrGrHrIr*r)r9r:rrrrr&s&             N) abcrr__all__rrregisterr7rr8rrr<rrrrsp u _