[erlang-questions] math:pow(X, Y).

Aleksandr Vinokurov aleksandr.vin@REDACTED
Wed Mar 21 04:59:41 CET 2012


Got it. Thank you Richard. 





21.03.2012, в 2:17, "Richard O'Keefe" <ok@REDACTED> написал(а):

> 
> On 21/03/2012, at 4:07 AM, Aleksandr Vinokurov wrote:
> 
>> Richard, what the point of writing two equal funs? rtpi and rtpf? Really.
> 
> There was originally one function.  However, they have different
> *types*, and my hope was that HiPE would be able to exploit this
> to generate code, at least for rtpf, that had no run-time tests
> for "is this a float", and perhaps might even pass the arguments
> around unboxed.
> 
> So yes, *really*, because thanks to the -specs, they don't have
> exactly the same semantics.
> 



More information about the erlang-questions mailing list