Skip to content

[ltsmaster] Fix failure in pow() unittest.#60

Merged
redstar merged 1 commit intoldc-developers:ldc-ltsmasterfrom
redstar:powfix
Mar 1, 2018
Merged

[ltsmaster] Fix failure in pow() unittest.#60
redstar merged 1 commit intoldc-developers:ldc-ltsmasterfrom
redstar:powfix

Conversation

@redstar
Copy link
Member

@redstar redstar commented Feb 28, 2018

No description provided.

@dnadlinger
Copy link
Member

Is this backported from something? If yes, what's the commit hash? If no, should it be?

…ernal variable.

This change fixes a unittest failure with LDC with optimizations on. Note that the return type of `impl` is `real` (not `Float`) and thus changing the type of `sign` to `real` should not matter / be more correct? I am not sure why `w` on line 6299 is of type `Float`.

(cherry picked from commit 4b1f2f0)
@redstar
Copy link
Member Author

redstar commented Mar 1, 2018

Ah, thanks for asking! There is really an upstream commit for it. I change the commit message accordingly.

@redstar redstar merged commit 7c13cc3 into ldc-developers:ldc-ltsmaster Mar 1, 2018
@redstar redstar deleted the powfix branch March 1, 2018 07:04
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.

3 participants