]> granicus.if.org Git - postgresql/commit
Rewrite JROUND macro to multiply by 1e6 rather than divide by 1e-6
authorThomas G. Lockhart <lockhart@fourpalms.org>
Sun, 31 May 1998 17:08:35 +0000 (17:08 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Sun, 31 May 1998 17:08:35 +0000 (17:08 +0000)
commit345b0f6b999f2c0aa4303bedbeaeb2c71987e684
tree0a3958c14489135dc40eabe2165aeef4bd585629
parentff84c98a659a958bdcc0cbfb61821c10d93ba1f4
Rewrite JROUND macro to multiply by 1e6 rather than divide by 1e-6
 and vica versa for the next operation.
This is reputed to fix inline math optimization troubles in glibc-2.0.x.
Regression tests still pass on libc/i686 machine.  Patch suggested by Matt.
src/include/utils/dt.h