The ldexp() function multiplies a floating-point number by an integral power of 2.

Danh Trịnh

New member
The ldexp() function multiplies a floating-point number by an integral power of 2.
A. true
B. false
 
Answer: a
Explanation: double ldexp(double x, int exp);
The ldexp function multiplies a floating-point number by an integral power of 2. A range error may occur. The ldexp() function returns the value of x times 2 raised to the power exp.
 

Tìm kiếm

Back
Top