- #1
Alamino
- 71
- 0
I'm trying to write a program but I face a little problem (and probably very simple): there is a function that sometimes is calculated outside of its domain and then gives the result "nan".
I need to put an "if" that says that everytime that function returns "nan" the program will execute some procedure.
Can anyone help me with this?
I need to put an "if" that says that everytime that function returns "nan" the program will execute some procedure.
Can anyone help me with this?