Is it time for D 3.0?

Steven Schveighoffer schveiguy at gmail.com
Sun Mar 29 16:11:35 UTC 2020


On 3/29/20 10:01 AM, Arine wrote:
> On Sunday, 29 March 2020 at 13:34:44 UTC, Steven Schveighoffer wrote:
>> I would say no, for 2 reasons. One, this is basically renaming without 
>> benefit. All those types are well defined, and there is no problem 
>> with sizing. Two, you can already do this with aliases if this is what 
>> you wish for.
> 
> What about "real"? It is not defined. On x86 it means the old deprecated 
> 80-bit float (that nobody should use). And on ARM it means 128-bit 
> float. The worse part is, at least last I checked, Phobos only 
> implements some functions only for real.
> 
> 

I think real is an exception, and possibly available for migration to 
things like real80 or real128 and aliasing real to one of them. Simply 
because all floating points in D are implicitly convertable between them.

-Steve


More information about the Digitalmars-d mailing list