Changeset 226
- Timestamp:
- 08/14/08 19:38:00 (5 months ago)
- Files:
-
- trunk/math/Util.d (deleted)
- trunk/math/bigint/Bigint.d (modified) (4 diffs)
- trunk/math/bigint/Factorial.d (modified) (1 diff)
- trunk/math/bigint/Gcd.d (modified) (1 diff)
- trunk/math/bigint/IntException.d (modified) (1 diff)
- trunk/math/bigint/Lowlevel.d (modified) (1 diff)
- trunk/math/bigint/Modexp.d (modified) (1 diff)
- trunk/math/bigint/Modinv.d (modified) (1 diff)
- trunk/math/bigint/Multiply.d (modified) (1 diff)
- trunk/math/bigint/Prime.d (modified) (1 diff)
- trunk/math/bigint/Radix.d (modified) (1 diff)
- trunk/math/bigint/Squareroot.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/math/bigint/Bigint.d
r154 r226 5 5 dwin.math.bigint.Multiply, 6 6 dwin.math.bigint.Radix, 7 dwin.math.bigint.Lowlevel; 7 dwin.math.bigint.Lowlevel; 8 8 9 9 private import tango.stdc.stdlib; … … 40 40 */ 41 41 42 43 // Written in the D programming language. 44 45 /******************************************************************************* 46 47 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 48 49 License: BSD style: $(LICENSE) 50 51 Version: Initial release: 2007 52 53 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 54 55 *******************************************************************************/ 42 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 43 56 44 57 45 … … 1315 1303 package 1316 1304 { 1317 1305 1318 1306 this() 1319 1307 { … … 1331 1319 d[] = n.d[]; 1332 1320 } 1333 1321 1334 1322 1335 1323 //----------------------------------- trunk/math/bigint/Factorial.d
r154 r226 36 36 */ 37 37 38 // Written in the D programming language. 39 40 /******************************************************************************* 41 42 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 43 44 License: BSD style: $(LICENSE) 45 46 Version: Initial release: 2007 47 48 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 49 50 *******************************************************************************/ 51 38 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 52 39 53 40 trunk/math/bigint/Gcd.d
r154 r226 31 31 */ 32 32 33 // Written in the D programming language. 34 35 /******************************************************************************* 36 37 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 38 39 License: BSD style: $(LICENSE) 40 41 Version: Initial release: 2007 42 43 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 44 45 *******************************************************************************/ 46 33 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 47 34 48 35 /* ------------------------------------------------------------------------------------ trunk/math/bigint/IntException.d
r154 r226 32 32 */ 33 33 34 // Written in the D programming language. 35 36 /******************************************************************************* 37 38 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 39 40 License: BSD style: $(LICENSE) 41 42 Version: Initial release: 2007 43 44 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 45 46 *******************************************************************************/ 47 34 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 48 35 49 36 class IntException : Exception trunk/math/bigint/Lowlevel.d
r154 r226 34 34 // Written in the D programming language. 35 35 36 /******************************************************************************* 37 38 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 39 40 License: BSD style: $(LICENSE) 41 42 Version: Initial release: 2007 43 44 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 45 46 *******************************************************************************/ 47 36 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 48 37 49 38 /* trunk/math/bigint/Modexp.d
r154 r226 32 32 */ 33 33 34 // Written in the D programming language. 35 36 /******************************************************************************* 37 38 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 39 40 License: BSD style: $(LICENSE) 41 42 Version: Initial release: 2007 43 44 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 45 46 *******************************************************************************/ 47 34 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 48 35 49 36 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk/math/bigint/Modinv.d
r154 r226 35 35 */ 36 36 37 // Written in the D programming language. 38 39 /******************************************************************************* 40 41 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 42 43 License: BSD style: $(LICENSE) 44 45 Version: Initial release: 2007 46 47 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 48 49 *******************************************************************************/ 50 37 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 51 38 52 39 /* ------------------------------------------------------------------------------------ trunk/math/bigint/Multiply.d
r154 r226 32 32 */ 33 33 34 // Written in the D programming language. 35 36 /******************************************************************************* 37 38 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 39 40 License: BSD style: $(LICENSE) 41 42 Version: Initial release: 2007 43 44 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 45 46 *******************************************************************************/ 47 48 34 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 49 35 version(DisableKaratsuba) 50 36 { trunk/math/bigint/Prime.d
r217 r226 40 40 */ 41 41 42 // Written in the D programming language. 43 44 /******************************************************************************* 45 46 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 47 48 License: BSD style: $(LICENSE) 49 50 Version: Initial release: 2007 51 52 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 53 54 *******************************************************************************/ 55 42 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 56 43 57 44 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trunk/math/bigint/Radix.d
r154 r226 36 36 */ 37 37 38 // Written in the D programming language. 39 40 /******************************************************************************* 41 42 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 43 44 License: BSD style: $(LICENSE) 45 46 Version: Initial release: 2007 47 48 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 49 50 *******************************************************************************/ 51 38 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 52 39 53 40 private trunk/math/bigint/Squareroot.d
r154 r226 35 35 */ 36 36 37 // Written in the D programming language. 38 39 /******************************************************************************* 40 41 Copyright: Copyright (c) 2007 (yidabu g m a i l at com) All rights reserved 42 43 License: BSD style: $(LICENSE) 44 45 Version: Initial release: 2007 46 47 Authors: yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 48 49 *******************************************************************************/ 50 37 /// port to Tango by yidabu ( D Programming Language China : http://www.d-programming-language-china.org/ ) 51 38 52 39 /* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
