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

change BinOp("|") to have fLeftAbsorbing/fRightAbsorbing predicates #977

Closed

Conversation

oleg-nesterov
Copy link
Contributor

Before this patch

import("stdfaust.lib");
process = |(ma.not(0));

compiles to

output0[i0] = FAUSTFLOAT(int(float(input0[i0])) | -1);

after the patch

output0[i0] = FAUSTFLOAT(-1);

Before this patch

	import("stdfaust.lib");
	process = |(ma.not(0));

compiles to

	output0[i0] = FAUSTFLOAT(int(float(input0[i0])) | -1);

after the patch

	output0[i0] = FAUSTFLOAT(-1);
@sletz
Copy link
Member

sletz commented Dec 8, 2023

Merged thanks.

@sletz sletz closed this Dec 8, 2023
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.

2 participants