[phobos] Bug 4455: Taking sqrt of an integer

Sean Kelly sean at invisibleduck.org
Thu Jul 15 21:26:07 PDT 2010


On Jul 15, 2010, at 8:56 PM, David Simcha wrote:

> On 7/15/2010 11:04 PM, Sean Kelly wrote:
>> I think it should work. If the signature changes it just won't be recognized as an intrinsic any more, right?
>>   
> 
> But how do you forward to the intrinsic?  I assume it's hard-coded in the compiler that this has to be named sqrt(), so you need to have a function called sqrt() around, and you can't overload functions against templates.
> 

Oh, I see.  That's what I get for not reading the entire thread.


More information about the phobos mailing list