Should you be able to initialize a float with a char?

Ali Çehreli acehreli at yahoo.com
Fri May 20 03:09:16 UTC 2022


On 5/18/22 15:11, max haughton wrote:
 > For example:
 >
 > float x = 'a';
 >
 > Currently compiles.

Going a little off-topic, I recommend Don Clugston's very entertaining 
DConf 2016 presentation "Using Floating Point Without Losing Your Sanity":

   http://dconf.org/2016/talks/clugston.html

Ali



More information about the Digitalmars-d mailing list