I've found cases where I would like to compute (x mod z) where x is a Real number (the result of a division) and z is an integer. I've found that rounding the result can throw off my algorithm - it is necessary to preserve any fractional component in what I'm doing.
As such, I wanted to try to find a proper definition for mod over the Reals. I've found floating point modulus definitions provided by programming languages/apis, but thus far I haven't been able to find a proper, standard mathematical definition. Where can I find it?
R/mZ
For my case, I'm not concerned with Rings or Ideals - I just need the wrapping property provided by modulus to work with fractions. Since I'd like to publish this algorithm eventually, I'd like to use the proper terminology.
– Ryan Pierce Williams Jan 06 '23 at 19:50