How to prevent the program from returning 'inf'?

How to prevent the program from returning 'inf'?
I hope you found a solution that worked for you :)
The Content is licensed under (meta.stackexchange.com/help/l...) CC BY-SA.
Attention! This video does always use the same license as the source!
Thanks to all those great people for their contributions!
(stackoverflow.com/users/25105337/ronny)Ronny
(stackoverflow.com/users/577603/comicsansms)ComicSansMS
(stackoverflow.com/users/9822560/vincent-saulue-laborde)Vincent Saulue-Laborde
A special thanks goes out to the (stackoverflow.com/questions/78501789/how-to-prevent-the-program-from-returning-inf)Stackexchange community
I wish you all a wonderful day! Stay safe :)
If anything is off, please write me at peter D.O.T schneider A.T ois42.de
c++ numeric floating-point

Пікірлер

    Келесі