Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postgrespro/pgsphere
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.3.0
Choose a base ref
...
head repository: postgrespro/pgsphere
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.3.1
Choose a head ref
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on Sep 7, 2023

  1. Fix test fails on Debian 32 bit system due to gcc bug 323

    On some 32 bit platforms, there is a gcc bug that makes floating point
    calculations and comparisons unstable (see the link below). The problem
    originates in FPU 80 bits registers where double values are not truncated
    to 64 bit values. When gcc compiles some code with enabled optimizations,
    the intermediate results may be kept in the FPU registers without truncation
    to 64 bit values. Extra bits may produce unstable results when comparing
    the numbers.
    
    The generic solution is to save the intermediate results in the memory where
    the values are truncated to 64 bit values. It affects the performance but
    makes the tests stable on all platforms.
    
    PGSPHERE_FLOAT_STORE macro enables storing of intermediate results for FPxx
    operations in the memory. It is enabled by default for 32 bit platforms.
    It can be explicitly enabled or disabled in CFLAGS. To enable it for all
    code the gcc option -ffloat-store may be used as well.
    
    Link to gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=323
    Vitaly Davydov committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    cce07bb View commit details
    Browse the repository at this point in the history
  2. Incremented pgsphere version (patch number)

    Vitaly Davydov committed Sep 7, 2023
    Configuration menu
    Copy the full SHA
    8e7c92f View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. Merge pull request #62 from vitcpp/gcc-bug-323

    Fix overlaps.sql test fail on 32 bit Debian due to gcc bug 323
    vitcpp authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    fb93eb4 View commit details
    Browse the repository at this point in the history
Loading