~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/decimal.c

  • Committer: Monty Taylor
  • Date: 2008-10-16 06:32:30 UTC
  • mto: (511.1.5 codestyle)
  • mto: This revision was merged to the branch mainline in revision 521.
  • Revision ID: monty@inaugust.com-20081016063230-4brxsra0qsmsg84q
Added -Wunused-macros.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
#define DIG_MASK     100000000
128
128
#define DIG_BASE     1000000000
129
129
#define DIG_MAX      (DIG_BASE-1)
130
 
#define DIG_BASE2    ((dec2)DIG_BASE * (dec2)DIG_BASE)
131
130
#define ROUND_UP(X)  (((X)+DIG_PER_DEC1-1)/DIG_PER_DEC1)
132
131
static const dec1 powers10[DIG_PER_DEC1+1]={
133
132
  1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000};