|
From: | John W. Eaton |
Subject: | Re: static_cast<float>(1.0) versus 1.0f? |
Date: | Tue, 17 Feb 2015 13:51:09 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 |
On 02/17/2015 01:28 PM, Rik wrote:
This would look a whole lot simpler, and more closely resemble the double version of the function, if we could just use 1.0f for float compile time constants. Is this acceptable?
Yes. I don't know why I sometimes used the static_cast. We might as well make that change globally.
jwe
[Prev in Thread] | Current Thread | [Next in Thread] |