New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
floating point overflow #691
Comments
From aaron@caxton.comI don't know if this counts exactly as a bug, since it We're building some SWIG extensions to perl to use it as a scripting We used SWIG to add a perl function that changes the default handling It appears that such an overflow occurs in the scan_num routine For regular perl this internal floating point overflow is ignored and Similarly if we invoke our extended perl on most programs there is no Our work-around is simply to wrap any calls to eval or do But we don't see why we need to do this. If anybody decides to take this seriously I'd appreciate an email Thanks for any help, |
From [Unknown Contact. See original ticket]Aaron Sosnick writes:
AFAIU, you cannot do it in C. AFAIU C compilers assume a specific way
Please check whether the same happens with current development Ilya P.S. I often see similar problems on OS/2, when DLLs can be installed Perl code as simple as ~1 was causing a FP exception. |
Migrated from rt.perl.org#1589 (status was 'resolved')
Searchable as RT1589$
The text was updated successfully, but these errors were encountered: