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

add muladd(x,y,z)=x*y+z fallback #13876

Merged
merged 1 commit into from
Nov 9, 2015

Conversation

stevengj
Copy link
Member

@stevengj stevengj commented Nov 4, 2015

(fixes #13748)

Note that I kept the Number-specific fallbacks in promotion.jl, in addition to the fallback, because I think it is sensible to do promotion on number types. e.g. muladd(x,y,z) should do all the operations in BigFloat precision if any of the operands are BigFloat, at least for Number operands.

@kshyatt kshyatt added the linear algebra Linear algebra label Nov 4, 2015
@stevengj
Copy link
Member Author

stevengj commented Nov 6, 2015

Okay to merge?

@sjkelly
Copy link
Contributor

sjkelly commented Nov 9, 2015

+1. I had the exact change locally but you beat me to the PR.

jakebolewski added a commit that referenced this pull request Nov 9, 2015
add muladd(x,y,z)=x*y+z fallback
@jakebolewski jakebolewski merged commit d33633d into JuliaLang:master Nov 9, 2015
@stevengj stevengj deleted the generic_muladd branch November 9, 2015 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement muladd for general types
4 participants