stdlib icon indicating copy to clipboard operation
stdlib copied to clipboard

[RFC]: add `math/base/special/fmod`

Open gunjjoshi opened this issue 1 year ago • 2 comments

Description

This RFC proposes adding math/base/special/fmod, which would follow this reference implementation: https://github.com/JuliaMath/openlibm/blob/master/src/e_fmod.c

This would enable us to have a function that works the same way as the modulus operator in javascript does.

Related Issues

None.

Questions

No.

Other

No.

Checklist

  • [X] I have read and understood the Code of Conduct.
  • [X] Searched for existing issues and pull requests.
  • [X] The issue name begins with RFC:.

gunjjoshi avatar Jun 19 '24 04:06 gunjjoshi

:wave: Hi there! :wave:

And thank you for opening your first issue! We will get back to you shortly. :runner: :dash:

stdlib-bot avatar Jun 19 '24 04:06 stdlib-bot

Thanks, @gunjjoshi! This sounds good and would be a good addition.

kgryte avatar Jun 19 '24 06:06 kgryte