Hi all,

I'm having trouble with streams and doubles.  In my toolchain, I used the default software floating point.  I also added the c++ compiler and libstdc++.  I was able to compile without any warnings, but the doubles just don't play well with the streams.  Any suggestions?

Example code:

#include <iostream>

int main()
    double myNumber = 8.5;
    printf( "myNumber: %f\n", myNumber );
    std::cout << "myNumber: " << myNumber << std::endl;

    return 0;

Example output:
myNumber: 8.500000
myNumber: 012

Lisa Michaux-Smith
Software Engineer
RE2, Inc.