vendredi 2 septembre 2016

Implement add function which caters overflow and returns the correct value

I am solving a recursion problem in which i have to perform mathematical operations on long double data type in C++. Sometimes the result exceeds the range of long double.

I can catch the overflow but want to know how i can proceed with the numbers which exceed long double data type and apply mathematical operations on these numbers.

Aucun commentaire:

Enregistrer un commentaire