Commit cbda6835 authored by unknown's avatar unknown

clean up comments

parent e1d5f620
...@@ -456,7 +456,7 @@ double Item_func_pow::val() ...@@ -456,7 +456,7 @@ double Item_func_pow::val()
double Item_func_acos::val() double Item_func_acos::val()
{ {
// this 'volatile' was added as a fix for BUG #2338 to calm optimizer down // the volatile's for BUG #2338 to calm optimizer down (because of gcc's bug)
volatile double value=args[0]->val(); volatile double value=args[0]->val();
if ((null_value=(args[0]->null_value || (value < -1.0 || value > 1.0)))) if ((null_value=(args[0]->null_value || (value < -1.0 || value > 1.0))))
return 0.0; return 0.0;
...@@ -465,7 +465,7 @@ double Item_func_acos::val() ...@@ -465,7 +465,7 @@ double Item_func_acos::val()
double Item_func_asin::val() double Item_func_asin::val()
{ {
// this 'volatile' was added as a fix for BUG #2338 to calm optimizer down // the volatile's for BUG #2338 to calm optimizer down (because of gcc's bug)
volatile double value=args[0]->val(); volatile double value=args[0]->val();
if ((null_value=(args[0]->null_value || (value < -1.0 || value > 1.0)))) if ((null_value=(args[0]->null_value || (value < -1.0 || value > 1.0))))
return 0.0; return 0.0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment