Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-38638

Fix acos function in IntelRDFPMathLib20U1

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Storage NYC 2018-12-31

      The acos function in the NumberDecimal library has a bug for special-case argument handling, where acos(-1.0) returns 0 rather than Pi. For SERVER-32930 we are implementing the $acos expression and need this fixed. The new IntelRDFPMathLib20U2 June 2018 update of the library has this big fix, but seems to have either introduced a new issue in code changes for the power function, or exposes optimization bugs in GCC. So it looks like SERVER-37998 might take longer to do than expected.

      So, we should for now just cherry-pick this change and associated test cases in readtest.in while we wait for upgrade of the library as a whole.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: