RootTalk


ROOT Discussion Forums

Why is there no isnormal / isfinite / isinf / ... ?

Discuss installing and running CINT here. Please post bug reports here.

Moderator: cintdev

Why is there no isnormal / isfinite / isinf / ... ?

Postby Hobbybastler » Thu Jan 22, 2015 17:06

Hi,
i have a code that contains some lengthy calculations. For a certain number of loop iterations everything runs fine, but some point i get NaNs and InFs on the output. To find the bug I wanted to put checks with isnormal (from the cmath.h) but it seems as if this is not available in cint. What other function can I use to check whether a value is neither NaN nor InF ?
Hobbybastler
 
Posts: 42
Joined: Mon Sep 26, 2011 12:07

Re: Why is there no isnormal / isfinite / isinf / ... ?

Postby tc3t » Thu Jan 22, 2015 19:46

tc3t
 
Posts: 64
Joined: Sun Oct 16, 2011 21:48


Return to CINT Support

Who is online

Users browsing this forum: No registered users and 1 guest