No float version identifier

Alex Rønne Petersen xtzgzorex at gmail.com
Tue Dec 27 10:49:30 PST 2011


On 27-12-2011 19:47, Alex Rønne Petersen wrote:
> Hi,
>
> I think it would be useful if we had a standard version identifier that
> is defined when no floating point support is enabled (i.e. dmd's
> -nofloat switch), say, "NoFloat" or something along the lines of that.
>
> Any input on this before I put it in Bugzilla?
>
> - Alex

In addition, we may want to have "HardFloat" and "SoftFloat" 
standardized too, as some compilers (GDC and LDC) support soft float on 
ARM. DMD would just define "HardFloat" when -nofloat isn't activated.

- Alex


More information about the Digitalmars-d mailing list