diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2002-04-22 12:45:48 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2002-04-22 12:45:48 (GMT) |
commit | 583fccf7dacaca22ab10188f000498427a7b0b6b (patch) | |
tree | deba59bef17d328c7981202319ad045043ffe3c4 /ChangeLog | |
parent | ef9179154fce0934c48c8b1ecbb0a9323def847a (diff) | |
download | tk-583fccf7dacaca22ab10188f000498427a7b0b6b.zip tk-583fccf7dacaca22ab10188f000498427a7b0b6b.tar.gz tk-583fccf7dacaca22ab10188f000498427a7b0b6b.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 |