Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update toolchain to support std::remainder#7849

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
earlephilhower merged 3 commits intoesp8266:masterfromearlephilhower:fixrem
Jan 29, 2021

Conversation

@earlephilhower
Copy link
Collaborator

Update newlib to enable the __ieee754_remainder(f) calls required by
std::remainder and others.

Fixes#7845

Update newlib to enable the __iee745_remainder(f) calls required bystd::remainder and others.Fixesesp8266#7845
@mcspr
Copy link
Collaborator

#7845 successfully builds using Windows toolchain, no surprises so far

Does this need a test similar to this?

TEST_CASE("#612 fmod and sqrt work","[newlib]")
{
CHECK(fabs(fmod(2.0,1.5) -0.5) <1e-6);
CHECK(fabs(fmod(-10, -3) - (-1.0)) <1e-5);
}

to at least call it once

@earlephilhower
Copy link
CollaboratorAuthor

Good idea,@mcspr . Since it's in newlib and not the core the chance of it re-breaking is low but I'll throw something in so that it at least checks linkage (the base problem here) once somewhere...

@earlephilhowerearlephilhower merged commit20413f8 intoesp8266:masterJan 29, 2021
@earlephilhowerearlephilhower deleted the fixrem branchJanuary 29, 2021 20:30
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

std::remainder: undefined reference to `__ieee754_remainder'

2 participants

@earlephilhower@mcspr

[8]ページ先頭

©2009-2025 Movatter.jp