PNG  IHDR* pHYs+ IDATx]n#; cdLb Ǚ[at¤_:uP}>!Usă cag޿ ֵNu`ݼTâabO7uL&y^wFٝA"l[|ŲHLN밪4*sG3|Dv}?+y߉{OuOAt4Jj.u]Gz*҉sP'VQKbA1u\`& Af;HWj hsO;ogTu uj7S3/QzUr&wS`M$X_L7r2;aE+ώ%vikDA:dR+%KzƉo>eOth$z%: :{WwaQ:wz%4foɹE[9<]#ERINƻv溂E%P1i01 |Jvҗ&{b?9g=^wζXn/lK::90KwrюO\!ջ3uzuGv^;騢wq<Iatv09:tt~hEG`v;3@MNZD.1]L:{ծI3`L(÷ba")Y.iljCɄae#I"1 `3*Bdz>j<fU40⨬%O$3cGt]j%Fߠ_twJ;ABU8vP3uEԑwQ V:h%))LfraqX-ۿX]v-\9I gl8tzX ]ecm)-cgʒ#Uw=Wlێn(0hPP/ӨtQ“&J35 $=]r1{tLuǮ*i0_;NƝ8;-vݏr8+U-kruȕYr0RnC]*ެ(M:]gE;{]tg(#ZJ9y>utRDRMdr9㪩̞zֹb<ģ&wzJM"iI( .ꮅX)Qw:9,i좜\Ԛi7&N0:asϓc];=ΗOӣ APqz93 y $)A*kVHZwBƺnWNaby>XMN*45~ղM6Nvm;A=jֲ.~1}(9`KJ/V F9[=`~[;sRuk]rєT!)iQO)Y$V ی ۤmzWz5IM Zb )ˆC`6 rRa}qNmUfDsWuˤV{ Pݝ'=Kֳbg,UҘVz2ﴻnjNgBb{? ߮tcsͻQuxVCIY۠:(V뺕 ٥2;t`@Fo{Z9`;]wMzU~%UA蛚dI vGq\r82iu +St`cR.6U/M9IENDB` REDROOM
PHP 5.6.40
Preview: TODO Size: 2.57 KB
//proc/thread-self/root/usr/share/doc/perl-Math-BigInt/TODO

The following list is not up to date:

See also various .pm files.

General:
 * Copy on write (helps for $x = -$x; cases etc) (seems to make it slower :/
 * run config() and die_on_nan() tests under Subclass.pm

Math::BigFloat:
 * finish upgrading and downgrading
 * ! bround()/bfround(): some bugs may lurk in there
 * accuracy() & precision() maybe not finished (bnorm() in every op, testcases)
 * do not reduce numbers in new(), rather do it in anything that outputs it
   like bsstr(), bstr(), mantissa(), exponent() and parts(). Reducing the
   number after each op is slow with a binary core math lib like BitVect.
 * add bfract() that returns just the fractional part?
 * tests for frsft() and flsft() with $n != 2
 * blog() is still quite slow for non-integer results. See if we can reuse the
   integer calculation somehow
 * finish broot() by using different algorithm

Math::BigInt:
 * finish 'upgrade'
 * remove rounding overhead when no rounding is done, e.g. no $object has A nor
   P and neither of bround(), bround(), accuracy() or precision() was called
 * bround() is only used by MBF for -$scale = -$len, anyway. POD is wrong for
   this, too
 * overload of cos()/sin()/exp()/atan2() is too DWIM (should return BigInt or
   BigFloat, not scalar) - also document it
 * +5 % 0 or -5 % 0 == NaN (should it be something else?)
 * certain shortcuts returning bzero(), bone() etc may not set the requested
   rounding parameters, so that $x->foo($y,$a,$p,$r) may return $x without a
   set $a or $p, thus failing later on:

        use Test;
        BEGIN { plan tests => 1; }
        use Math::BigInt;
        $x = Math::BigInt->bone();
        $x->bsqrt(3,0,'odd');           # $x = 0, but _a is not 3!
        ok ($x + '12345','12300');      # fails (12346 instead of 12300)

   The shortcuts in code that return $x->bzero() or similar things need to
   do $x->bzero($a,$p); and this needs tests.
   Update: Should now work for most things. Check for completeness.

Given the fact that we are be able to plug-in a much faster core-lib, the
following are pretty much ultra-low-priority:

Math::BigInt::Calc:
 * look at div() for more speed (I have the hunch that the general _div()
   routine does way too much work for normal div (e.g. when we don't need
   the reminder). A simplified version could take care of this.
 * alternative mul() method using shifts
 * implement in Calc (and GMP etc) to calculate band(), bior(), bxor() for
   negative inputs (_signed_or() etc)
 * _root() doesn't scale too well

Please send me test-reports, your experiences with this and your ideas - I love
to hear about my work!

Directory Contents

Dirs: 1 × Files: 7

Name Size Perms Modified Actions
examples DIR
- drwxr-xr-x 2025-04-06 18:07:04
Edit Download
1.85 KB lrw-r--r-- 2016-11-17 21:26:34
Edit Download
83.35 KB lrw-r--r-- 2017-03-15 10:21:43
Edit Download
1.78 KB lrw-r--r-- 2016-11-17 21:26:34
Edit Download
1.30 KB lrw-r--r-- 2016-11-17 21:26:34
Edit Download
4.74 KB lrw-r--r-- 2016-07-11 11:08:01
Edit Download
1.10 KB lrw-r--r-- 2016-07-11 11:08:02
Edit Download
2.57 KB lrw-r--r-- 2016-12-13 19:16:03
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).
© 2026 REDROOM — Secure File Manager. All rights reserved. Built with ❤️ & Red Dark UI