#math - Fri 16 Mar 2007 between 00:20 and 00:54

NY Lost Funds



JafetAgain... 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.
DodecaTRWBW; 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
TRWBWDodeca: 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.
JafetNotwithstanding 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?
DodecaJafet; can't be helped im afraid
OlatheDodeca: http://blogs.msdn.com/bclteam/archive/2007/01/16/introducing-system-numeric-biginteger-inbar-gazit.aspx
DodecaOlathe; yes in c# 3 :)
JafetWhy "can't" it "be helped"?
Don't tell me this is coursework or something.
TRWBWi thought by "can't be helped" he meant he couldn't help being unable to program a simple multiplication
JafetI generally prefer not to use an applications programming language to do arbitrary precision math, if you get what I mean.
Dodecayea, 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
JafetSo is your current objective to write a bignum library, or to implement the AKS algorithm?
TRWBWDodeca: why don't you write a program
DodecaJafet; to implement the AKS algorithm; the bignum lib is used primarily for the perfect power test in step 1 of the AKS
JafetDon't tell me you don't have a calculator to do something that simple.
DodecaJafet; unfortunatly not
JafetYou're hopeless.
Dodecathanks =\
Jafet% 0x32BC8412756A * CB21458CDA521CD8
mbotJafet: 0
Jafet% 0x32BC8412756A
mbotJafet: 0
Jafet% Radix[32BC8412756A, 16]
mbotJafet: Radix[32*BC8412756A, 16]
JafetMeh, I guess you'll have to figure it out for yourself.
Dodeca> 0x32BC8412756A * CB21458CDA521CD8
mbotNot in scope: data constructor `CB21458CDA521CD8'
mankind_tweezer284214D0637232F93B5F545EA970
at least that's what bc says
Dodecamankind_tweezer; thanks :)
JafetA kind soul.
mankind_tweezerbeats doing real work :)
JafetWhich reminds me...
cldsum_(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

Page: 2 9 16 23 30 37 44 

IrcArchive

NY Lost Funds