[parsec-users] Identify the number format

abhishek rnath abhishekrnath at gmail.com
Sat Oct 8 09:48:30 EDT 2011

Hi friends,

While going through the source code of swaptions, in a file called
RanUnif.cpp, I found an instruction

k1 = ix/127773L;

Here what does the number 127773L means?

Also for other instructions:

ix = 16807L*( ix - k1*127773L ) - k1 * 2836L;
  if (ix < 0) ix = ix + 2147483647L;

Please help me...

Thank You,
Abhishek R. Nath
M. Tech Computer Science
Amrita Vishwa Vidyapeetham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20111008/44c9451e/attachment.html>

More information about the parsec-users mailing list