language: C++ 4.7.2 (gcc-4.7.2)
date: 427 days 7 hours ago
link:
visibility: public
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
 
int main()
{
    volatile float f = 3.01;
    volatile  float mf = f * 100;
    volatile double md = f * 100;
 
    volatile int if_ = mf;
    volatile int id = md;
 
    std::cout << f << ' ' << mf << ' ' << md << ' ' << ' ' << (mf - md) << ' ' << if_ << ' ' << id << '\n';
}