diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2002-04-22 12:45:48 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2002-04-22 12:45:48 (GMT) |
commit | d48134dfbbb788f57f96f4e49f473397d306a06b (patch) | |
tree | deba59bef17d328c7981202319ad045043ffe3c4 /ChangeLog | |
parent | b3f7b07eb58b8ecd7b4b7ea3c3e4e31509204d96 (diff) | |
download | tk-d48134dfbbb788f57f96f4e49f473397d306a06b.zip tk-d48134dfbbb788f57f96f4e49f473397d306a06b.tar.gz tk-d48134dfbbb788f57f96f4e49f473397d306a06b.tar.bz2 |
Fix for Bug 223739 to get rid of floating point equality test.
Sorry for delaying this fix for months; I hadn't noticed that it had been reviewed!
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,15 @@ +2002-04-22 Donal K. Fellows <fellowsd@cs.man.ac.uk> + + * generic/tkTextDisp.c (GetXView,GetYView): Comparison with + previous values of scrollbar range are now done in a way that is + sensitive to the bizarreness of floating-point on architectures + where IEEE-FP is not used on the processor. Also increased the + size of the temporary buffer to take account of the fact that + TCL_DOUBLE_SPACE is meant to only imply enough space to take a + printed double and trailing '\0', and no more. [Bug #223739] + (FP_EQUAL_SCALE): New macro to help compare floating-point numbers + for equality in a sane way, used in GetXView and GetYView. + 2002-04-12 Jeff Hobbs <jeffh@ActiveState.com> * generic/tkWindow.c (TkCloseDisplay): Added to centralize where a |