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

Fix acos function in IntelRDFPMathLib20U1

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.7
    • Component/s: Querying
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: