Commit graph

72 commits

Author SHA1 Message Date
unknown
55e08c314a decimal.c:
test_ro("999999999999999999999.999", 0, CEILING);
    test_da("5", "-6.0");
ignore:
  added gdbinit


BitKeeper/etc/ignore:
  added gdbinit
strings/decimal.c:
    test_ro("999999999999999999999.999", 0, CEILING);
    test_da("5", "-6.0");
2004-11-08 10:06:32 +01:00
unknown
7b30603b0e don't return intg=frac=0 from mod 2004-11-07 16:12:21 +01:00
unknown
fc99b5217c memory overrun in decimal_mod 2004-11-07 13:47:44 +01:00
unknown
2a4e8ff7be space-stripping in decimal2bin 2004-11-04 13:27:44 +01:00
unknown
c41f992dea error codes chaged to bitmap (for easier testing with masks)
two more round() modes - CEILING and FLOOR
2004-11-03 18:43:48 +01:00
unknown
8b33a4536d allocate temp array big enough for not to worry about bound checking in look-aheads 2004-11-02 20:45:55 +01:00
unknown
023314bc5f different (hopefully, correct) fix for bin2decimal bug
tests added
2004-11-02 13:55:44 +01:00
unknown
81ef1a41d7 s/sint/uint/ - no sign extend for signed bytes 2004-11-02 12:17:58 +01:00
unknown
7e788724af ROUND_UP(negative_number) doesn't work 2004-11-02 09:45:03 +01:00
unknown
076420c8d5 one more pre-division bug 2004-11-01 23:44:05 +01:00
unknown
40edf5bc6e yet another s/>/>=/ typo 2004-11-01 14:47:18 +01:00
unknown
8af37ddc67 correct test for 1/3
more tests
2004-11-01 13:58:28 +01:00
unknown
b715986b73 stript end zeros before comparison 2004-11-01 11:28:36 +01:00
unknown
a2e7a90bbb compare with DIG_BASE corectly
rounding bugs fixed
2004-10-31 21:30:19 +01:00
unknown
6924450368 new round mode - half_up 2004-10-31 13:15:44 +01:00
unknown
b4d0ae2966 two more places with the same zero-stripping bug 2004-10-31 00:02:13 +02:00
unknown
2aebffaac7 sanity checks for decimal result buffers 2004-10-30 19:27:54 +02:00
unknown
669897cb33 bugfix and test case 2004-10-30 18:31:35 +02:00
unknown
bbfb40404f new api per hf request:
string2decimal_fixed
  decimal_round(from, to)
  decimal_make_zero
  decimal_string_size
  decimal_neg


strings/decimal.c:
  new api per hf request:
    string2decimal_fixed
    decimal_round(from, to)
    decimal_make_zero
2004-10-29 00:22:54 +02:00
unknown
00bbd9a252 decimal_cmp() 2004-10-20 15:26:03 +02:00
unknown
24b608b230 decimal to/from bin, and utility functions
strings/Makefile.am:
  cleanup
2004-10-19 14:38:54 +02:00
unknown
decc71e636 arbitrary precision decimal numbers
strings/llstr.c:
  small optimization
BitKeeper/etc/ignore:
  Added strings/test_decimal to the ignore list
2004-10-18 14:06:46 +02:00