Not sure why the original developer cast to 'long' rather than using some modulo division on the floating point number. Stupid windows 32bit long.
And, we can't do the easy solution of 'long long' because of incompatibility with the HP-UX C-runtime on the old-as-dirt patch levels some of our customers refuse to move from.
No comments:
Post a Comment