PATH: //proc/self/root/opt/alt/python311/lib64/python3.11/test/decimaltestdata
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 abs.decTest
↓
X
📄 add.decTest
↓
X
📄 and.decTest
↓
X
📄 base.decTest
↓
X
📄 clamp.decTest
↓
X
📄 class.decTest
↓
X
📄 compare.decTest
↓
X
📄 comparetotal.decTest
↓
X
📄 comparetotmag.decTest
↓
X
📄 copy.decTest
↓
X
📄 copyabs.decTest
↓
X
📄 copynegate.decTest
↓
X
📄 copysign.decTest
↓
X
📄 ddAbs.decTest
↓
X
📄 ddAdd.decTest
↓
X
📄 ddAnd.decTest
↓
X
📄 ddBase.decTest
↓
X
📄 ddCanonical.decTest
↓
X
📄 ddClass.decTest
↓
X
📄 ddCompare.decTest
↓
X
📄 ddCompareSig.decTest
↓
X
📄 ddCompareTotal.decTest
↓
X
📄 ddCompareTotalMag.decTest
↓
X
📄 ddCopy.decTest
↓
X
📄 ddCopyAbs.decTest
↓
X
📄 ddCopyNegate.decTest
↓
X
📄 ddCopySign.decTest
↓
X
📄 ddDivide.decTest
↓
X
📄 ddDivideInt.decTest
↓
X
📄 ddEncode.decTest
↓
X
📄 ddFMA.decTest
↓
X
📄 ddInvert.decTest
↓
X
📄 ddLogB.decTest
↓
X
📄 ddMax.decTest
↓
X
📄 ddMaxMag.decTest
↓
X
📄 ddMin.decTest
↓
X
📄 ddMinMag.decTest
↓
X
📄 ddMinus.decTest
↓
X
📄 ddMultiply.decTest
↓
X
📄 ddNextMinus.decTest
↓
X
📄 ddNextPlus.decTest
↓
X
📄 ddNextToward.decTest
↓
X
📄 ddOr.decTest
↓
X
📄 ddPlus.decTest
↓
X
📄 ddQuantize.decTest
↓
X
📄 ddReduce.decTest
↓
X
📄 ddRemainder.decTest
↓
X
📄 ddRemainderNear.decTest
↓
X
📄 ddRotate.decTest
↓
X
📄 ddSameQuantum.decTest
↓
X
📄 ddScaleB.decTest
↓
X
📄 ddShift.decTest
↓
X
📄 ddSubtract.decTest
↓
X
📄 ddToIntegral.decTest
↓
X
📄 ddXor.decTest
↓
X
📄 decDouble.decTest
↓
X
📄 decQuad.decTest
↓
X
📄 decSingle.decTest
↓
X
📄 divide.decTest
↓
X
📄 divideint.decTest
↓
X
📄 dqAbs.decTest
↓
X
📄 dqAdd.decTest
↓
X
📄 dqAnd.decTest
↓
X
📄 dqBase.decTest
↓
X
📄 dqCanonical.decTest
↓
X
📄 dqClass.decTest
↓
X
📄 dqCompare.decTest
↓
X
📄 dqCompareSig.decTest
↓
X
📄 dqCompareTotal.decTest
↓
X
📄 dqCompareTotalMag.decTest
↓
X
📄 dqCopy.decTest
↓
X
📄 dqCopyAbs.decTest
↓
X
📄 dqCopyNegate.decTest
↓
X
📄 dqCopySign.decTest
↓
X
📄 dqDivide.decTest
↓
X
📄 dqDivideInt.decTest
↓
X
📄 dqEncode.decTest
↓
X
📄 dqFMA.decTest
↓
X
📄 dqInvert.decTest
↓
X
📄 dqLogB.decTest
↓
X
📄 dqMax.decTest
↓
X
📄 dqMaxMag.decTest
↓
X
📄 dqMin.decTest
↓
X
📄 dqMinMag.decTest
↓
X
📄 dqMinus.decTest
↓
X
📄 dqMultiply.decTest
↓
X
📄 dqNextMinus.decTest
↓
X
📄 dqNextPlus.decTest
↓
X
📄 dqNextToward.decTest
↓
X
📄 dqOr.decTest
↓
X
📄 dqPlus.decTest
↓
X
📄 dqQuantize.decTest
↓
X
📄 dqReduce.decTest
↓
X
📄 dqRemainder.decTest
↓
X
📄 dqRemainderNear.decTest
↓
X
📄 dqRotate.decTest
↓
X
📄 dqSameQuantum.decTest
↓
X
📄 dqScaleB.decTest
↓
X
📄 dqShift.decTest
↓
X
📄 dqSubtract.decTest
↓
X
📄 dqToIntegral.decTest
↓
X
📄 dqXor.decTest
↓
X
📄 dsBase.decTest
↓
X
📄 dsEncode.decTest
↓
X
📄 exp.decTest
↓
X
📄 extra.decTest
↓
X
📄 fma.decTest
↓
X
📄 inexact.decTest
↓
X
📄 invert.decTest
↓
X
📄 ln.decTest
↓
X
📄 log10.decTest
↓
X
📄 logb.decTest
↓
X
📄 max.decTest
↓
X
📄 maxmag.decTest
↓
X
📄 min.decTest
↓
X
📄 minmag.decTest
↓
X
📄 minus.decTest
↓
X
📄 multiply.decTest
↓
X
📄 nextminus.decTest
↓
X
📄 nextplus.decTest
↓
X
📄 nexttoward.decTest
↓
X
📄 or.decTest
↓
X
📄 plus.decTest
↓
X
📄 power.decTest
↓
X
📄 powersqrt.decTest
↓
X
📄 quantize.decTest
↓
X
📄 randomBound32.decTest
↓
X
📄 randoms.decTest
↓
X
📄 reduce.decTest
↓
X
📄 remainder.decTest
↓
X
📄 remainderNear.decTest
↓
X
📄 rescale.decTest
↓
X
📄 rotate.decTest
↓
X
📄 rounding.decTest
↓
X
📄 samequantum.decTest
↓
X
📄 scaleb.decTest
↓
X
📄 shift.decTest
↓
X
📄 squareroot.decTest
↓
X
📄 subtract.decTest
↓
X
📄 testall.decTest
↓
X
📄 tointegral.decTest
↓
X
📄 tointegralx.decTest
↓
X
📄 xor.decTest
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: copynegate.decTest
------------------------------------------------------------------------ -- copyNegate.decTest -- quiet copy and negate -- -- Copyright (c) IBM Corporation, 1981, 2008. All rights reserved. -- ------------------------------------------------------------------------ -- Please see the document "General Decimal Arithmetic Testcases" -- -- at http://www2.hursley.ibm.com/decimal for the description of -- -- these testcases. -- -- -- -- These testcases are experimental ('beta' versions), and they -- -- may contain errors. They are offered on an as-is basis. In -- -- particular, achieving the same results as the tests here is not -- -- a guarantee that an implementation complies with any Standard -- -- or specification. The tests are not exhaustive. -- -- -- -- Please send comments, suggestions, and corrections to the author: -- -- Mike Cowlishaw, IBM Fellow -- -- IBM UK, PO Box 31, Birmingham Road, Warwick CV34 5JL, UK -- -- mfc@uk.ibm.com -- ------------------------------------------------------------------------ version: 2.59 extended: 1 precision: 9 rounding: half_up maxExponent: 999 minExponent: -999 -- Sanity check cpnx001 copynegate +7.50 -> -7.50 -- Infinities cpnx011 copynegate Infinity -> -Infinity cpnx012 copynegate -Infinity -> Infinity -- NaNs, 0 payload cpnx021 copynegate NaN -> -NaN cpnx022 copynegate -NaN -> NaN cpnx023 copynegate sNaN -> -sNaN cpnx024 copynegate -sNaN -> sNaN -- NaNs, non-0 payload cpnx031 copynegate NaN13 -> -NaN13 cpnx032 copynegate -NaN13 -> NaN13 cpnx033 copynegate sNaN13 -> -sNaN13 cpnx034 copynegate -sNaN13 -> sNaN13 cpnx035 copynegate NaN70 -> -NaN70 cpnx036 copynegate -NaN70 -> NaN70 cpnx037 copynegate sNaN101 -> -sNaN101 cpnx038 copynegate -sNaN101 -> sNaN101 -- finites cpnx101 copynegate 7 -> -7 cpnx102 copynegate -7 -> 7 cpnx103 copynegate 75 -> -75 cpnx104 copynegate -75 -> 75 cpnx105 copynegate 7.50 -> -7.50 cpnx106 copynegate -7.50 -> 7.50 cpnx107 copynegate 7.500 -> -7.500 cpnx108 copynegate -7.500 -> 7.500 -- zeros cpnx111 copynegate 0 -> -0 cpnx112 copynegate -0 -> 0 cpnx113 copynegate 0E+4 -> -0E+4 cpnx114 copynegate -0E+4 -> 0E+4 cpnx115 copynegate 0.0000 -> -0.0000 cpnx116 copynegate -0.0000 -> 0.0000 cpnx117 copynegate 0E-141 -> -0E-141 cpnx118 copynegate -0E-141 -> 0E-141 -- full coefficients, alternating bits cpnx121 copynegate 268268268 -> -268268268 cpnx122 copynegate -268268268 -> 268268268 cpnx123 copynegate 134134134 -> -134134134 cpnx124 copynegate -134134134 -> 134134134 -- Nmax, Nmin, Ntiny cpnx131 copynegate 9.99999999E+999 -> -9.99999999E+999 cpnx132 copynegate 1E-999 -> -1E-999 cpnx133 copynegate 1.00000000E-999 -> -1.00000000E-999 cpnx134 copynegate 1E-1007 -> -1E-1007 cpnx135 copynegate -1E-1007 -> 1E-1007 cpnx136 copynegate -1.00000000E-999 -> 1.00000000E-999 cpnx137 copynegate -1E-999 -> 1E-999 cpnx138 copynegate -9.99999999E+999 -> 9.99999999E+999
SIMPAN PERUBAHAN