For a chosen denominator b, it’s pretty easy to find the value of a that gets us the closest to the target r. We must consider two cases: the largest “low-side” fraction that’s still less than r; and the smallest “high-side” fraction greater than r. If there’s a rational fraction that matches r exactly, that solution is prohibited by the rules of the game; we need to pick one of the nearby values instead.
第二百一十六条 下列海事赔偿请求,除本法第二百一十七条和第二百一十八条另有规定外,无论赔偿责任的基础有何不同,责任人均可以依照本章规定限制赔偿责任:
,推荐阅读搜狗输入法获取更多信息
# boolean type operators
@christinetylerhill