www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - No float version identifier

reply =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
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
Dec 27 2011
parent =?ISO-8859-1?Q?Alex_R=F8nne_Petersen?= <xtzgzorex gmail.com> writes:
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
Dec 27 2011