~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/decimal.h

  • Committer: Monty Taylor
  • Date: 2009-03-08 23:45:12 UTC
  • mto: (923.2.1 mordred)
  • mto: This revision was merged to the branch mainline in revision 921.
  • Revision ID: mordred@inaugust.com-20090308234512-tqkygxtu1iaig23s
Removed C99 isnan() usage, which allows us to remove the util/math.{cc,h} workarounds. Yay for standards!

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
#ifndef _decimal_h
17
17
#define _decimal_h
18
18
 
 
19
#if defined(__cplusplus)
 
20
extern "C" {
 
21
#endif
 
22
 
19
23
typedef enum
20
24
{TRUNCATE=0, HALF_EVEN, HALF_UP, CEILING, FLOOR}
21
25
  decimal_round_mode;
103
107
#define E_DEC_ERROR            31
104
108
#define E_DEC_FATAL_ERROR      30
105
109
 
 
110
#if defined(__cplusplus)
 
111
}
 
112
#endif
 
113
 
106
114
#endif
107
115