You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing a code generator based on the Fast Loaded Dice Roller, I've noticed that two equivalent sets of integer weights (where one is an integer multiple of the other) can have a different table size. For example:
One weight set, 1, 9, 6, turns into a 4x5 table by the Fast Loaded Dice Roller.
However, an equivalent weight set, 1000, 9000, 6000, turns into a 14x5 table this way.
This shows that it might be helpful in some cases to divide the weights by their greatest common divisor (ignoring zero weights) to achieve an equivalent weight set that minimizes table sizes.
The text was updated successfully, but these errors were encountered:
While writing a code generator based on the Fast Loaded Dice Roller, I've noticed that two equivalent sets of integer weights (where one is an integer multiple of the other) can have a different table size. For example:
1, 9, 6
, turns into a 4x5 table by the Fast Loaded Dice Roller.1000, 9000, 6000
, turns into a 14x5 table this way.This shows that it might be helpful in some cases to divide the weights by their greatest common divisor (ignoring zero weights) to achieve an equivalent weight set that minimizes table sizes.
The text was updated successfully, but these errors were encountered: