3
$\begingroup$

I have some questions about numbers in Mathematica:

  • Does Mathematica work with datatypes like int, long, short or byte in C#?
  • What is the biggest number that Mathematica can calculate?
$\endgroup$
  • 2
    $\begingroup$ reference.wolfram.com/language/guide/… $\endgroup$ – george2079 Aug 21 '15 at 17:46
  • 3
    $\begingroup$ I'll say it now: don't treat it like C#; it's a rather different paradigm we have in place. In particular, let me advise you to read about heads in Mathematica... $\endgroup$ – J. M. is away Aug 21 '15 at 17:54
3
$\begingroup$

Your first Q (since i'm a C noob): Mathematica c# and the Documentation Center Types of Numbers

Your second Q;

$MaxMachineNumber is the largest machine-precision number that can be used on a particular computer system.

$MaxMachineNumber

(*
1.79769*10^308
*)

$MaxNumber gives the maximum arbitrary-precision number that can be represented on a particular computer system.

$MaxNumber

(*
1.605216761933662*10^1355718576299609
*)

Infos relevant for

"10.0 for Mac OS X x86 (64-bit) (December 4, 2014)"

with 32 GB 1600 MHz DDR3, so this type of Q/A depends on your System anyway.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.