[Python-Dev] floatobject.c 2.136
Michael Hudson
mwh at python.net
Thu Jun 30 02:02:37 CEST 2005
"Raymond Hettinger" <raymond.hettinger at verizon.net> writes:
> I'm getting a compiler warning from your checkin:
"your"? Mine?
> C:\py25\Objects\floatobject.c(1430) : warning C4244: 'initializing' :
> conversion from 'double ' to 'float ', possible loss of data
That's this line:
float y = x;
where x is of double type. This seems an, um, daft warning to me, but
it's easy to fix, and I've fixed it.
Cheers,
mwh
--
The only problem with Microsoft is they just have no taste.
-- Steve Jobs, (From _Triumph of the Nerds_ PBS special)
and quoted by Aahz on comp.lang.python
More information about the Python-Dev
mailing list