If Number is normal pozitive or negative, Return is True.
Else If Number is Inf, Zero, NaN then result is false.
is-norm
@/is-norm
If Number is normal pozitive or negative, Return is True.
Else If Number is Inf, Zero, NaN then result is false.
INnumber
OUTboolean
To use the node in your project you should have the koadrobot/math library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.
C++ implementation
struct State {
};
{{ GENERATED_CODE }}
void evaluate(Context ctx) {
auto inValue = getValue<input_IN>(ctx);
emitValue<output_OUT>(ctx, isnormal(inValue));
}