Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix single precision mode #265

Merged
merged 12 commits into from
Feb 2, 2022
Merged

Fix single precision mode #265

merged 12 commits into from
Feb 2, 2022

Commits on Jan 31, 2022

  1. Configuration menu
    Copy the full SHA
    9f3ed89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0aa9adf View commit details
    Browse the repository at this point in the history
  3. Remove hard-coded double type of RNG functions

    Was failing in single precision mode. Now using type that is set to the
    floating point precision preference
    denisalevi committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    2674cb9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    de70807 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    20de2d1 View commit details
    Browse the repository at this point in the history
  6. Add failing test case for float literal regex

    The current regex version replaces `10.` with `10.f` in
    `#include "name_10.h"`
    denisalevi committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    8db437a View commit details
    Browse the repository at this point in the history
  7. Ignore #include lines during f-literal replacement

    Our regex currently replaces `_10.h` with `_10.fh`. This also affects
    `var12.metho()` type variables and needs to be fixed! But for now this
    workaround just ignores `#include` lines, where header files might be
    named like this.
    denisalevi committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    8f1aa01 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6bea80f View commit details
    Browse the repository at this point in the history
  9. Use brian's assert_close in tests

    Sets the tolerance depending on floating point precision, else tests
    might fail due to precision in single precision mode.
    denisalevi committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    475ef3a View commit details
    Browse the repository at this point in the history
  10. Replace assert_equal with assert_close in test

    Else tests fail in single precision mode
    denisalevi committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    8265b3d View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2022

  1. Configuration menu
    Copy the full SHA
    f1818f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c8ddbc2 View commit details
    Browse the repository at this point in the history