Skip to content

Revise Quotient[] builtin#1721

Open
rocky wants to merge 2 commits intomasterfrom
revise-Quotient
Open

Revise Quotient[] builtin#1721
rocky wants to merge 2 commits intomasterfrom
revise-Quotient

Conversation

@rocky
Copy link
Member

@rocky rocky commented Mar 11, 2026

Revise Quotient so it handles the 3-argument form, lists, and numbers other than Integers.

(Noticed in trying to run some standard WMA packages.)

'Round[(m-d)/n]'.
</dl>

## Plot showing the step-like 'Floor' behavior of 'Quotient':
Copy link
Member Author

Choose a reason for hiding this comment

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

There is a bad bug that recently popped up involving the interaction of args checking and things that wrap arguments in a sequence, like DiscretePlot, which uses compile_function_quiet.

Copy link
Contributor

Choose a reason for hiding this comment

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

@rocky, would you put an issue with this example, to look at it later?

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure. I'm not sure exactly what's up, but this seems like a nasty bug.

@rocky rocky requested a review from mmatera March 11, 2026 12:05
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