in reply to Re^4: modulo 1 (%1) and fractional part of a number
in thread modulo 1 (%1) and fractional part of a number

I don't know much about the other flaws*, but we agree that we shouldn't add more.

> otherwise, if either operand is recognizably floating point (ie, has a fractional component, or is too big for IV), then use floating-point modulo.

Perl is unlike Python or JS an operator language.

If you want an operator where modulo returns a fraction, write a patch to introduce something like %% (hopefully this doesn't clash with a special variable)°

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

*) I suppose they are related to integers being represented as floats if they become to big to be stored as integers.

°) hnngnggnn ...

$FORMAT_PAGE_NUMBER $% The current page number of the currently selected output channel. Mnemonic: % is page number in nroff.