What error occurs if the magnitude of x is too large in sinh(double x)?

Trương Duy

New member
What error occurs if the magnitude of x is too large in sinh(double x)?
A. domain error
B. range error
C. no error
D. zero is returned
 
Answer: b
Explanation:The sinh() function computes the hyperbolic sine of x. A range error occurs if the magnitude of x is too large.If the result overflows i.e the magnitude of the result is too large to be represented in an object of the specified type).
 

Tìm kiếm

Back
Top