in reply to Re^2: Pack function
in thread Pack function

One is running on a little-endian machine and the other on a big-endian?


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.

Replies are listed 'Best First'.
Re^4: Pack function
by vrajan (Novice) on Aug 02, 2005 at 09:44 UTC
    I am running the code on the same machine.

      Identical code on the same machine, different binaries producing different results.

      The only variable is the binaries?

      Conclusion: One of the binaries is broken.


      Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
      Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
      "Science is about questioning the status quo. Questioning authority".
      The "good enough" maybe good enough for the now, and perfection maybe unobtainable, but that should not preclude us from striving for perfection, when time, circumstance or desire allow.
        Both my binaries are built on top of Perl 4 (same version). Is there an Linux library (maybe math) that Perl calls to evaluate pack? like libm or so?