Opened 6 years ago

#21747 new enhancement

Standardize modulo operator % on real numbers (step 2)

Reported by: vdelecroix Owned by:
Priority: major Milestone: sage-7.5
Component: basic arithmetic Keywords:
Cc: Merged in:
Authors: Vincent Delecroix Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: #21746, #21745 Stopgaps:

Status badges


For any subset of the real numbers we change the modulo operator to be

x%y is the unique x' between [0,y) of the form x + ny with n integer

This ticket affects floating point numbers, interval and balls.

See this sage-devel thread and also #15260

Change History (0)

Note: See TracTickets for help on using tickets.