Users Also Read
MCQ's Search Engine
Electrical Engineering
Mechanical Engineering
Civil Engineering
Automobile Engineering
Chemical Engineering
Computer Engineering
Electronics Engineering
Medical Science Engg
How can I handle floating-point exceptions gracefully?
On many systems, you can define a function matherr which will be called when there are certain floating-point errors, such as errors in the math routines in .
You may also be able to use signal to catch SIGFPE.
You may also be able to use signal to catch SIGFPE.