Skip to content
Snippets Groups Projects
Commit ace98f30 authored by Ivica Bukvic's avatar Ivica Bukvic
Browse files

added an article to the NaN error report text

parent 95d82d33
No related branches found
No related tags found
No related merge requests found
...@@ -163,7 +163,7 @@ static void binop1_pow_bang(t_binop *x) ...@@ -163,7 +163,7 @@ static void binop1_pow_bang(t_binop *x)
outlet_float(x->x_obj.ob_outlet, outlet_float(x->x_obj.ob_outlet,
powf(x->x_f1, x->x_f2)); powf(x->x_f1, x->x_f2));
else { else {
pd_error(x, "pow: calculation resulted in NaN"); pd_error(x, "pow: calculation resulted in a NaN");
outlet_float(x->x_obj.ob_outlet, 0); outlet_float(x->x_obj.ob_outlet, 0);
} }
} }
...@@ -178,7 +178,7 @@ static void binop1_pow_float(t_binop *x, t_float f) ...@@ -178,7 +178,7 @@ static void binop1_pow_float(t_binop *x, t_float f)
outlet_float(x->x_obj.ob_outlet, outlet_float(x->x_obj.ob_outlet,
powf(x->x_f1, x->x_f2)); powf(x->x_f1, x->x_f2));
else { else {
pd_error(x, "pow: calculation resulted in NaN"); pd_error(x, "pow: calculation resulted in a NaN");
outlet_float(x->x_obj.ob_outlet, 0); outlet_float(x->x_obj.ob_outlet, 0);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment