~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/functions/asin.cc

  • Committer: Eric Herman
  • Date: 2008-12-06 19:42:46 UTC
  • mto: (656.1.6 devel)
  • mto: This revision was merged to the branch mainline in revision 665.
  • Revision ID: eric@mysql.com-20081206194246-5cdexuu81i366eek
removed trailing whitespace with simple script:

for file in $(find . -name "*.c") $(find . -name "*.cc") $(find . -name "*.h"); do ruby -pe 'gsub(/\s+$/, $/)' < $file > $file.out; mv $file.out $file; done;

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
 
30
30
double Item_func_asin::val_real()
31
 
 
31
{
32
32
  assert(fixed == 1);
33
33
  // the volatile's for BUG #2338 to calm optimizer down (because of gcc's bug)
34
34
  volatile double value= args[0]->val_real();
35
35
  if ((null_value=(args[0]->null_value || (value < -1.0 || value > 1.0))))
36
36
    return 0.0;
37
37
  return asin(value);
38
 
39
 
  
 
38
}
 
39