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

internal: don't use VM callback for addFloatRoundtrip #308

Merged
merged 1 commit into from
May 13, 2022

Conversation

zerbina
Copy link
Collaborator

@zerbina zerbina commented May 12, 2022

The function doesn't need to be overridden with a VM callback
implementation in order to work in the VM. In addition, the usage of
a callback was problematic in this case, as the callback has no way
to know if the input is a float32 or float64 and always treated
it as the latter


Fixes the tfloats.nim test in the data layout PR

The function doesn't need to be overriden with a VM callback
implementation in order to work in the VM. In addition, the usage of
a callback was problematic in this case, as the callback has no way
to know if the input is a `float32` or `float64` and always treated
it as the latter
Copy link
Collaborator

@saem saem left a comment

Choose a reason for hiding this comment

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

Bors r+

@bors
Copy link
Contributor

bors bot commented May 13, 2022

Build succeeded:

@bors bors bot merged commit fc6c76f into nim-works:devel May 13, 2022
@zerbina zerbina deleted the formatfloat-vm branch May 13, 2022 14:57
@haxscramper haxscramper added this to the VM backend refactoring milestone Nov 21, 2022
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.

None yet

3 participants