[Bug c++/64808] New: static_cast double to int on linux 32

2015-01-26 Thread friend1992friend1992 at yandex dot ru
++ Assignee: unassigned at gcc dot gnu.org Reporter: friend1992friend1992 at yandex dot ru I have code : #include void fun(double _v) { std::cout<<"_v="<<_v<(_v*1000.); std::cout<<"var="<(_v*1000.);" to "double t = _v*1000.

[Bug c++/64808] static_cast double to int on linux 32

2015-01-26 Thread friend1992friend1992 at yandex dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64808 --- Comment #1 from friend1992friend1992 at yandex dot ru --- > get the result on Linux i686 with GCC 4.4.5: Sorry, GCC 4.8.2: