Skip to content
Newer
Older
100644 29 lines (27 sloc) 2.41 KB
7329c5a @mberends [examples/biggishint] add a fairly big integer lib still under develo…
mberends authored Jun 4, 2011
1 /* biggishint.h */
2
3 unsigned short * biggishintAdd (unsigned short * biggishint1, unsigned short * biggishint2);
4 unsigned short * biggishintBitwiseAnd (unsigned short * biggishint1, unsigned short * biggishint2);
5 unsigned short * biggishintBitwiseNot (unsigned short * biggishint);
6 unsigned short * biggishintBitwiseOr (unsigned short * biggishint1, unsigned short * biggishint2);
7 unsigned short * biggishintBitwiseXor (unsigned short * biggishint1, unsigned short * biggishint2);
8 unsigned short * biggishintCompare (unsigned short * biggishint1, unsigned short * biggishint2);
9 unsigned short * biggishintDecrement (unsigned short * biggishint);
10 unsigned short * biggishintDivide (unsigned short * biggishint1, unsigned short * biggishint2);
11 unsigned short * biggishintFromDecimalString (char * str);
12 unsigned short * biggishintFromHexadecimalString (char * str);
2790e3a @mberends [examples/biggishint] hex calc example in .pl6, many lib bugs fixed
mberends authored Jun 5, 2011
13 unsigned short * biggishintFromLong (long l);
7329c5a @mberends [examples/biggishint] add a fairly big integer lib still under develo…
mberends authored Jun 4, 2011
14 unsigned short * biggishintIncrement (unsigned short * biggishint);
15 unsigned short * biggishintLogicalAnd (unsigned short * biggishint1, unsigned short * biggishint2);
16 unsigned short * biggishintLogicalNot (unsigned short * biggishint);
17 unsigned short * biggishintLogicalOr (unsigned short * biggishint1, unsigned short * biggishint2);
18 unsigned short * biggishintLogicalXor (unsigned short * biggishint1, unsigned short * biggishint2);
19 unsigned short * biggishintModulo (unsigned short * biggishint1, unsigned short * biggishint2);
20 unsigned short * biggishintMultiply (unsigned short * biggishint1, unsigned short * biggishint2);
21 unsigned short * biggishintPower (unsigned short * biggishint1, unsigned short * biggishint2);
22 unsigned short * biggishintShiftLeft (unsigned short * biggishint1, unsigned short * biggishint2);
23 unsigned short * biggishintShiftRight (unsigned short * biggishint1, unsigned short * biggishint2);
24 unsigned short * biggishintSubtract (unsigned short * biggishint1, unsigned short * biggishint2);
25 char * biggishintToHexadecimalString (unsigned short * biggishint);
26 char * biggishintToDecimalString (unsigned short * biggishint);
27 /* ^ no, you can't do this in Perl 6! */
28 /* end of biggishint.h */
Something went wrong with that request. Please try again.