Commit Graph

25 Commits

Author SHA1 Message Date
joost
96ec37aa92 * Fixed multiplying negative tBCD values
git-svn-id: trunk@17744 -
2011-06-13 17:12:49 +00:00
marco
949b6dd65a * Patch from LacaK2 for Mantis #18807 adding of formatsettings variants of BCD conversion routines
git-svn-id: trunk@17729 -
2011-06-12 13:30:03 +00:00
sergei
6bca660e76 * Patch from LacaK, eliminates redundant variant finalization and try..finally block in TFMTBcdFactory.CastTo
git-svn-id: trunk@17319 -
2011-04-14 20:25:41 +00:00
sergei
fdd99ec16c * BCD improvements based on a patch from LacaK
* fmtbcd.pp: convert BCD to strings directly (without intermediate conversion to Double) to avoid loss of precision.
  + variants.pp: support custom variants in Variant->AnsiString conversions.

git-svn-id: trunk@17170 -
2011-03-23 16:42:18 +00:00
marco
0e6e2ba589 * Patch from LacaK2, implementing an initial BCDToStrF
git-svn-id: trunk@17145 -
2011-03-19 13:04:00 +00:00
joost
979fd9b854 * Better fix for r16952 from Ladislav Karrach from bug report 18388
git-svn-id: trunk@16979 -
2011-02-22 21:28:39 +00:00
joost
7b8797afe7 * Fixed BCDToStr for values between -1 and 0
git-svn-id: trunk@16952 -
2011-02-20 17:59:12 +00:00
joost
e3885089c6 * TryStrToBcd now returns true when it succeeds, and false when it fails, not the other way around
git-svn-id: trunk@16951 -
2011-02-20 17:53:18 +00:00
sergei
131b7fcdb2 * RTL: Replaced deprecated formatting symbols with their up-to-date counterparts, reduces compiler noise.
* Also removed some unused variables.

git-svn-id: trunk@16744 -
2011-01-09 15:27:05 +00:00
marco
ff2292aafa * Patch from LacaK2 to improve decimalpoint localisation. (Mantis 18338)
git-svn-id: trunk@16653 -
2010-12-29 12:33:14 +00:00
marco
df16200a75 * Patch from LacaK2 fixing else clause of vartobcd, bug #16853
git-svn-id: trunk@16584 -
2010-12-17 18:57:16 +00:00
marco
69c89d4579 * more tcustomvariant conversion helpers from Lacak2. Mantis 16853
git-svn-id: trunk@16504 -
2010-12-04 20:21:03 +00:00
sergei
5f1d15c693 * Patch from LacaK2 implementing some missing properties of BCDVariant, partially fixes #16853.
git-svn-id: trunk@16404 -
2010-11-22 22:50:40 +00:00
micha
83b7f81f81 + add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
yury
93e62a3c0d * Raise range error exception directly to prevent note "Local variable "rcheck" is assigned but never used".
git-svn-id: trunk@9555 -
2007-12-28 00:17:11 +00:00
yury
5f8bd39408 * Implemented TFMTBcdFactory.Clear and TFMTBcdFactory.Copy methods.
git-svn-id: trunk@9552 -
2007-12-27 23:44:53 +00:00
yury
ed5fc4ca0e * Changed debug notes to hints.
git-svn-id: trunk@9499 -
2007-12-21 22:17:09 +00:00
yury
515017ece6 * Fixed warnings and notes.
git-svn-id: trunk@9097 -
2007-11-03 10:53:08 +00:00
pierre
79f314cf96 Put every {$smarlink on} inside an {$ifndef NO_SMART_link} condition.
This allows to do a 'make build' for win32 with nasm,
  using OPT="-Anasmwin32 -XS -dNO_SMART_LINK"

git-svn-id: trunk@7357 -
2007-05-16 11:26:06 +00:00
florian
a99b5470af * big variant from Thorsten Engler, fixes and improves several variant stuff
git-svn-id: trunk@6747 -
2007-03-07 20:45:06 +00:00
joost
6741866689 * {$inline on} added to fix compilation with 2.0.4
git-svn-id: trunk@6441 -
2007-02-11 19:28:44 +00:00
joost
2a7c22e140 * Enabled inlining and removed macro
git-svn-id: trunk@6428 -
2007-02-11 16:14:18 +00:00
florian
6093708e65 * fixed fmtbcd for CPUs having no natural comp type
git-svn-id: trunk@5084 -
2006-10-30 08:36:49 +00:00
florian
c5535366c7 * fixed compilation with 2.0.4
git-svn-id: trunk@5082 -
2006-10-30 07:53:46 +00:00
florian
35aa1e150e + first fmtbcd implementation
git-svn-id: trunk@5073 -
2006-10-29 21:28:31 +00:00