|Jafet||Again... using C# for math is bad karma.|
Python would make things much easier.
It has a built-in bignum library, and can interface GMP through gmpy.
|Dodeca||TRWBW; no. Any serious language that microsoft wants to hold a decent market share needs to be able to perform complex maths without the need to include j# libs|
|TRWBW||Dodeca: you can't get a completely trivial program to work and you whine about it, grow some balls. maybe you just aren't meant to be a programmer.|
|Jafet||Notwithstanding the fact that we mostly hate Microsoft and its 3-E "innovations", if C# doesn't support math at the moment, why use it for math?|
Isn't that, like, pretty obvious?
|Dodeca||Jafet; can't be helped im afraid|
|Dodeca||Olathe; yes in c# 3 :)|
|Jafet||Why "can't" it "be helped"?|
Don't tell me this is coursework or something.
|TRWBW||i thought by "can't be helped" he meant he couldn't help being unable to program a simple multiplication|
|Jafet||I generally prefer not to use an applications programming language to do arbitrary precision math, if you get what I mean.|
|Dodeca||yea, I know. But thats part of the point of this. When I started this there wasn't any big number class for c#|
in any event; can some one give me the result of this in base 16? 32BC8412756A * CB21458CDA521CD8
|Jafet||So is your current objective to write a bignum library, or to implement the AKS algorithm?|
|TRWBW||Dodeca: why don't you write a program|
|Dodeca||Jafet; to implement the AKS algorithm; the bignum lib is used primarily for the perfect power test in step 1 of the AKS|
|Jafet||Don't tell me you don't have a calculator to do something that simple.|
|Dodeca||Jafet; unfortunatly not|
|Jafet||% 0x32BC8412756A * CB21458CDA521CD8|
|Jafet||% Radix[32BC8412756A, 16]|
|mbot||Jafet: Radix[32*BC8412756A, 16]|
|Jafet||Meh, I guess you'll have to figure it out for yourself.|
|Dodeca||> 0x32BC8412756A * CB21458CDA521CD8|
|mbot||Not in scope: data constructor `CB21458CDA521CD8'|
at least that's what bc says
|Dodeca||mankind_tweezer; thanks :)|
|Jafet||A kind soul.|
|mankind_tweezer||beats doing real work :)|
|Jafet||Which reminds me...|
|cld||sum_(n=1)^infinity (-1)^n / (3n-2) <-- can anyone evaluate this?|
|Kasadkad`||cld: try and come up with a Taylor series which gives you that at x = 1|