~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item_func.cc

  • Committer: Monty Taylor
  • Date: 2008-10-02 19:10:59 UTC
  • Revision ID: monty@inaugust.com-20081002191059-caiokqvjis5jwvs2
Removed my_isinf. isinf is part of C99. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1989
1989
  tmp=(abs_dec < array_elements(log_10) ?
1990
1990
       log_10[abs_dec] : pow(10.0,(double) abs_dec));
1991
1991
 
1992
 
  if (dec_negative && my_isinf(tmp))
 
1992
  if (dec_negative && isinf(tmp))
1993
1993
    tmp2= 0;
1994
 
  else if (!dec_negative && my_isinf(value * tmp))
 
1994
  else if (!dec_negative && isinf(value * tmp))
1995
1995
    tmp2= value;
1996
1996
  else if (truncate)
1997
1997
  {