Python and C have frexp
and ldexp
functions (they basically go back and forth between y, and x and i in y = x*2^i).
I guess that exp
means exponent (of 2). What is the meaning of "ld" and "fr"? I see in http://pubs.opengroup.org/onlinepubs/009695399/functions/ldexp.html that "ld" could mean "load" (from mantissa/exponent form), but even this is not fully clear. I am not sure about "fr", though (http://pubs.opengroup.org/onlinepubs/9699919799/functions/frexp.html does not similarly give a clue).
So, what is the meaning of the names frexp
and ldexp
? I am hoping that this could help remembering which is which.