> function float_equal(lhs, rhs, epsilon) > return math.abs(lhs - rhs) < epsilon > end As mentioned before, if you have to do this, you need to use *relative* error, not absolute error: return math.abs(lhs - rhs) < epsilon*rhs
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル