I think it should be plain sailing, for example 255.255.255.255:
255*(256256256) + 255*(256256) + 255(256) + 255 = 4294967295
Which corresponds to the documentation: Denominator ::= 1..4294967295
Create a rules for check:
[admin@MikroTik] /ip firewall mangle> print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=output action=accept dst-address=!10.0.0.0/8 per-connection-classifier=dst-address:2/0 log=no log-prefix=""
1 chain=output action=accept dst-address=!10.0.0.0/8 per-connection-classifier=dst-address:2/1 log=no log-prefix=""
Check below which of the rules fall packages:
ping 1.1.1.0 - #1
ping 1.1.1.1 - #0
ping 1.1.1.2 - #0
ping 1.1.1.3 - #1
ping 1.1.1.4 - #1
ping 1.1.1.5 - #0
ping 1.1.1.6 - #0
ping 1.1.1.7 - #1
ping 1.1.1.8 - #0
ping 1.1.1.9 - #0
ping 1.1.1.10 - #0
ping 1.1.1.11 - #1
ping 1.1.1.12 - #0
ping 1.1.1.13 - #0
ping 1.1.1.14 - #1
ping 1.1.1.15 - #0
ping 1.1.1.16 - #0
How to understand where each packet gets into this scheme?