Re: [AD] float math function inconsistencies |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 30 Jan 2013 10:47:02 +0000, Nick Trout <chinbillybilbo@xxxxxxxxxx> wrote:
> Strictly speaking all floating point literals need an "f" on the end as
> well. I haven't checked but I believe all of these will generate a double,
> which then needs converting to float before they are used (every time they
> are used).
I think it'd have to be a pretty dumb or paranoid compiler to not
convert to a float literal at compile time.
Your patch looked okay. I'd wanted to check it compiles with MSVC
but haven't got around to it.
Peter