[Nestedvm] cmath and isfinite

Simmons, Aaron asimmons at rosettastone.com
Thu Apr 29 14:48:46 EDT 2010

I've been able to successfully compile a library with NestedVM, except for an odd corner-case-- there's no isfinite in cmath.  Here's an example:
        #include <iostream>
        #include <cmath>
        int main() {
           int i= 5;
           std::cout << "is i finite? " << std::isfinite(i) << std::endl;
           return 0;

This code compiles fine with g++-3.3, but doesn't with NestedVM's g++.  It gives the error:
        test.cpp:5: error: `isfinite' undeclared in namespace `std'

Is this function missing from NestedVM's c++ library?  Is isfinite not part of the standard?


More information about the Nestedvm mailing list