Fwd: Single-Precision Software Floating Point?

Sergei Organov osv at topconrd.ru
Thu May 19 17:05:19 UTC 2005


Mark Vander Voord <mvandervoord at gmail.com> writes:
[...]
> > float x = y + 4.5;
> >
> > the y is being converted to a double, multiplied by 4.5 using the
> > double-precision multiply, then converted back to a single float and
> > put into x.

Does it help to write it like this:

float x = y + 4.5F;

?

-- 
Sergei.




More information about the users mailing list