On Tue, 2019-08-20 at 11:48 +0530, Sunandan Adhikary wrote:
> HI,
> I am trying to generate a trace for a program. As I was getting *NaN*
> as
> the value of the *non_det float variable* in trace I used* isnormal()
> *function
> to omit that trace. Still, it doesn't work! I am getting *NaN* in the
> trace.
> Is there any problem regarding *nondet_float()* function or there is
> any
> problem regarding *isnormal() *?
To echo what Michael said; without seeing the code it is very hard to
say. Even if the inputs are normal it is still very easy to generate
NaNs; that may be what is happening.
Cheers,
- Martin