~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/sqrt.cc

  • Committer: Eric Day
  • Date: 2009-08-31 23:50:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1134.
  • Revision ID: eday@oddments.org-20090831235037-hwwe6zhq94o4lxtd
Removed purecov messages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
  assert(fixed == 1);
26
26
  double value= args[0]->val_real();
27
27
  if ((null_value=(args[0]->null_value || value < 0)))
28
 
    return 0.0; /* purecov: inspected */
 
28
    return 0.0;
29
29
  return sqrt(value);
30
30
}
31
31