sqrt(2) must go

Marco Leise Marco.Leise at gmx.de
Wed Oct 19 12:01:49 PDT 2011


Am 19.10.2011, 20:12 Uhr, schrieb dsimcha <dsimcha at yahoo.com>:

> No.  Something as simple as sqrt(2) must work at all costs, period.  A  
> language
> that adds a bunch of silly complications to something this simple is  
> fundamentally
> broken.  I don't remember your post on implicit preferred conversions,  
> but IMHO
> implicit conversions of integer to double is a no-brainer.  Requiring  
> something
> this simple to be explicit is Java/Pascal-like overkill on explicitness.

Pascal (FreePascal 2.4.0) allows sqrt(2) just fine.


More information about the Digitalmars-d mailing list