Conversation
|
@andrjohns we also have a jenkins M1 runner available we're not using yet (stan-dev/ci-scripts#35) if that would help |
Jenkins Console Log Machine informationNo LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focalCPU: G++: Clang: |
|
All fixes are in, updated title and description, ready for review |
Jenkins Console Log Machine informationNo LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04.3 LTS Release: 20.04 Codename: focalCPU: G++: Clang: |
Summary
Collection of updates/fixes to headers and tests to address issues with ARM64, primarily small floating-point issues. Key changes:
-ffp-contract=offflag to avoid issues due to floating-point contractionrsqrtwas returningnanforinfinputs (instead of 0)test_ad.hppwheredoublearguments were being cast tointcaused unexpected behaviourTests
N/A
Side Effects
N/A
Release notes
Fixes for several small floating-point accuracy issues with ARM64 platforms
Checklist
Copyright holder: Andrew Johnson
The copyright holder is typically you or your assignee, such as a university or company. By submitting this pull request, the copyright holder is agreeing to the license the submitted work under the following licenses:
- Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
- Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
the basic tests are passing
./runTests.py test/unit)make test-headers)make test-math-dependencies)make doxygen)make cpplint)the code is written in idiomatic C++ and changes are documented in the doxygen
the new changes are tested