The C99 standard defines ldexp(double a, int exp) as a × 2exp and scalbn(double a, int exp) as a × FLT_RADIXexp
What’s the difference between the two if I’m using IEEE-754 arithmetic (i.e. FLT_RADIX == 2)?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Appendix F:
F.9.3.6 The ldexp functions [#1] On a binary system, ldexp(x, exp) is equivalent to scalbn(x, exp)