MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

mathlink integer overflow

  • To: mathgroup at smc.vnet.net
  • Subject: [mg94805] mathlink integer overflow
  • From: Sebastien Roy <roys at iro.umontreal.ca>
  • Date: Fri, 26 Dec 2008 05:41:22 -0500 (EST)

Hello everyone,

(i hope this is the right forum for this question)

Using mathlink, if an expression evaluates to a very large integer
that would not fit 32 or 64 bits, mathematica sends
back an integer with error code MLEOVLF (overflow in integer). The
integer is truncated to its first 8 or 9 digits.

It seems there is no function like MLGetInteger for arbitrary size
integers...
So, is there an elegant way to retreive a very large integer through
mathlink?

Sincerely,

Sebastien



  • Prev by Date: Re: Keyboard Shortcuts in V7
  • Next by Date: Re: A problem with derivative InterpolatingFunction from NDSolve
  • Previous by thread: Re: BFBug_of_Solve
  • Next by thread: Re: mathlink integer overflow