All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kr.motd.maven.sphinx.dist.future.builtins.newround$py.class Maven / Gradle / Ivy

There is a newer version: 2.10.0
Show newest version
????1\f$0R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;__doc__D
``python-future``: pure Python implementation of Python 3 round().
org/python/core/PyStringfromInterned.(Ljava/lang/String;)Lorg/python/core/PyString;	

org/python/core/PyFrame
	setglobal/(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline(I)V
future.utilsjava/lang/StringPYPYPY26bind_methodorg/python/core/imp!
importFrom\(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;#$
"%setlocal'
(decimal*Decimal,ROUND_HALF_EVEN.org/python/core/PyObject0None2getname.(Ljava/lang/String;)Lorg/python/core/PyObject;45
6org/python/core/PyFunction8	f_globalsLorg/python/core/PyObject;:;	<
newround$1?
    See Python 3 documentation: uses Banker's Rounding.
 
    Delegates to the __round__ method if for some reason this exists.
 
    If not, rounds a number to a given precision in decimal digits (default
    0 digits). This returns an int when called with one argument,
    otherwise the same type as the number. ndigits may be negative.
 
    See the test_round method in future/tests/test_builtins.py for
    examples.
    ?FalseA	getglobalC5
D(ILorg/python/core/PyObject;)V'F
Ggetlocal(I)Lorg/python/core/PyObject;IJ
K_is6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;MN
1O__nonzero__()ZQR
1STrueUorg/python/core/PyW
newInteger(I)Lorg/python/core/PyInteger;YZ
X[hasattr]	__round_____call__m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;ab
1c__getattr__e5
1fS(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;ah
1if_lastiIkl	m_ltoN
1pNotImplementedErrorr"negative ndigits not supported yett
makeException9(Lorg/python/core/PyObject;)Lorg/python/core/PyException;vw
Xx10z__neg__()Lorg/python/core/PyObject;|}
1~_pow?N
1?numpy?repr?type?_in?N
1?float?__not__?}
1?
from_float?quantize?rounding?g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;a?
1?
from_float_26?int?future/builtins/newround$py?Lorg/python/core/PyCode;>?	??j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V??
9?newround?EmptyObjectsorg/python/core/PyObject;??	X?from_float_26$2?Converts a float to a decimal number, exactly.

    Note that Decimal.from_float(0.1) is not the same as Decimal('0.1').
    Since 0.1 is not exactly representable in binary floating point, the
    value is stored as the nearest representable value which is
    0x1.999999999999ap-4.  The exact equivalent of the value in decimal
    is 0.1000000000000000055511151231257827021181583404541015625.

    >>> Decimal.from_float(0.1)
    Decimal('0.1000000000000000055511151231257827021181583404541015625')
    >>> Decimal.from_float(float('nan'))
    Decimal('NaN')
    >>> Decimal.from_float(float('inf'))
    Decimal('Infinity')
    >>> Decimal.from_float(-float('inf'))
    Decimal('-Infinity')
    >>> Decimal.from_float(-0.0)
    Decimal('-0')

    ?math?importOneAsH(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;??
"?_dec_from_triple?
isinstance?org/python/core/PyTuple?long?([Lorg/python/core/PyObject;)V??
??isinf?isnan?copysign???newFloat(D)Lorg/python/core/PyFloat;??
X?_eq?N
1?abs?as_integer_ratio?9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;a?
1?unpackSequence8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;??
X?bit_length$3_ne?N
1?len?bin?_sub?N
1???	??str?_mul?N
1??(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;a?
1???	??org/python/core/PyList?
??__all__?2;	X?(Ljava/lang/String;)Vorg/python/core/PyFunctionTable?()V??
??selfLfuture/builtins/newround$py;?	?newCode?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;
X?	?	numberndigits

return_intexponentdf_mathsignn
bit_lengthkresult!getMain()Lorg/python/core/PyCode;main([Ljava/lang/String;)V???
?(#$
?*org/python/core/CodeLoader,createSimpleBootstrap9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;./
-0runMain5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V23
X4getCodeBootstrap!()Lorg/python/core/CodeBootstrap;#org/python/core/PyRunnableBootstrap8)getFilenameConstructorReflectionBootstrap2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;:;
9<
call_functionS(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
?@>
?B?
?D?
?Forg/python/core/PyRunnableH Lorg/python/compiler/APIVersion;value%Lorg/python/compiler/MTime;`9 G?Lorg/python/compiler/Filename;b/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/future/builtins/newround.pyorg/python/core/ThreadStateR[Ljava/lang/String;T?CodeLineNumberTableStackMap
SourceFileRuntimeVisibleAnnotations!??I??>?????	WZ.+??+??W+??N-S-S- S-+?&N-2:+?):-2:+?):-2:+ ?):+	?+?N--S-/S-+?&N-2:+-?):-2:+/?):+??1N+3?7-__S?9Y+?=-??@???N+?-?)N+7???N?9Y+?=-??????N+?-?)N+c???Y?1Y??S??N+?-?)N+?n???X	7c>W??+?@?W+?+B?EN+-?HN+?+?LN+3?E-_?PN?T?.+?+V?EN+-?HN+??\N+-?HN?+?+^?E,+?L`??d?T?$+?+?L`?g,+?L?jN+?n-?+ ?+?L:?\_?q:?T?+!?+s?E,u??j?y?+"?+-?E,{??j+?L???:+?H:+$?+?E?T?_+&???:+??E,+??E,+?L?j?j_??:?T?'+'?+??E,+?L?j:+?H:??+)?+?E???T?e+*?+-?E??g,+?L?j??g,?1:+?L__S+/?E__S?:?S??::+?H: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