approxEqual() has fooled me for a long time...

Seb via Digitalmars-d digitalmars-d at puremagic.com
Mon Aug 1 16:37:36 PDT 2016


On Monday, 1 August 2016 at 23:32:11 UTC, deadalnix wrote:
> On Wednesday, 20 October 2010 at 10:57:50 UTC, Don wrote:
>> Unfortunately, somebody on the ng insisted that it should be 
>> called feqrel(). Stupidly,  I listened. And now nobody uses my 
>> masterpiece because it has a totally sucky name.
>
> These absurd contraption to win 5 chars are ridiculous.
>
> I'm sure if you make some stats in various projects, the 
> functions with these stupid names are used way less because 
> nobody has any idea what feqrel and alike stands for.

Yup a simple search on Github proves this - approxEqual is used 
~3x more often in D projects ;-)

approxEqual: 530

https://github.com/search?l=d&q=approxEqual&ref=searchresults&type=Code&utf8=%E2%9C%93

fqrel: 187

https://github.com/search?l=d&q=feqrel&type=Code&utf8=%E2%9C%93


More information about the Digitalmars-d mailing list