summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-api/src
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-05-06 11:45:35 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-05-06 22:13:43 +0200
commitdd280852800824748544444212842a322fe2e1dc (patch)
tree02a787e63aaef820eb742320a3d432786528bd36 /opendc-web/opendc-web-api/src
parent203dd5dc4815aa59977b3f932f80cb37be006bfb (diff)
fix(exp/tf20): Fix infinite loop due to invalid rounding
This change fixes an issue with the `SimTFDevice` implementation where very small amounts of FLOPs would cause the device to enter an infinite loop. We now round the value up to ensure that the device always consumes FLOPs.
Diffstat (limited to 'opendc-web/opendc-web-api/src')
0 files changed, 0 insertions, 0 deletions