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

Make sure to only fastmath the right things #295

Merged
merged 2 commits into from
Oct 23, 2020
Merged

Make sure to only fastmath the right things #295

merged 2 commits into from
Oct 23, 2020

Conversation

oxinabox
Copy link
Member

closes #294

Problem was that round etc was mistakenly put in fastmathable.jl even though there is no Base.FastMath.round_fast.
My fault for not spotting that during review.

This PR:

  • move round etc and there tests to the right locations
  • adds warning comments to the source antd tests about this
  • adds some checks during the code generation to ensure every top-level statement in fastmath able is actually tranformed

@oxinabox oxinabox requested a review from mzgubic October 23, 2020 11:54
Copy link
Member

@mzgubic mzgubic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work with futureproofing for similar issues

Co-authored-by: Miha Zgubic <mzgubic@users.noreply.github.com>
@oxinabox
Copy link
Member Author

CI failure is unrelated though does seem to be related to #261 and #284

@oxinabox oxinabox merged commit 13b11bd into master Oct 23, 2020
@oxinabox oxinabox deleted the ox/fastsafe branch October 23, 2020 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Method overwritten for frule/rrule on Base.round
3 participants