The “3 / 2 * 10 != 10 * 3 / 2” Problem

작성자

카테고리:

← 피드로
r/programming · /u/Mean-Decision-3502 · 2026-08-07 개발(SW)

Coming from school math, it feels pretty strange that: 3 / 2 * 10 != 10 * 3 / 2 This expression can evaluate to true or false depending on the programming language you use. Languages where the two sides are NOT equal Languages where…

원문 보기 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다