interval-calculator
Learning and science
interval arithmetic
SHOW HN2026
Legend
interval-calculator
A calculator that works over disjoint sets of intervals
victorpoughon.github.io#interval arithmetic#interval union#disjoint intervals#floating point#outward rounding
How HN took it
11 positive, 17 neutral or asking, 1 mixed, 2 critical, out of 31 comments about the project. Thread score +0.27.
Idea: 4 for, 1 againstExecution: 1 for, 0 againstPerformance: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Interval union idea is useful and well executed
From 3 comments
Excellent!! I love interval arithmetic and also wrote a TS implementation for a graphing calculator project. Agree that it's very underrated, and I wish that directed rounding…
anematode on HNReally cool project—turning interval unions into a usable, polished calculator makes the math feel practical.
Eric_Xua on HNThis interval calculator is surprisingly robust. The way it handles boundary conditions and asymmetric intervals is clean and efficient.
adaptit on HN
Objections
Union growth in number of intervals may be exponential and a performance bottleneck
From 3 comments
Expanding the logic to union of intervals looks cool, but what is the complexity of that? Since you introduce the the possibility of an operation on an interval producing two…
SkiFire13 on HNThe division example is a perfect illustration of why this matters — [-∞, +∞] as an answer is technically correct but operationally useless. The union representation actually…
vishal_ch on HNVery cool. This feels like one of those ideas that makes interval arithmetic go from “interesting but frustrating” to actually useful. I’d be curious how you handle the growth in…
LXforever on HN
Powerset of intervals domain already known in abstract interpretation literature
From 1 comment
Sorry to be a party pooper, the Web app is neat, but I have some reservations about the paper. Namely, the "powerset of intervals" domain has been known since the '70s [1], and…
lou1306 on HN
Requests
Support open and half-open interval bounds
From 1 comment
Very nice, thanks for sharing! Maybe show which upper or lower values are included in the intervals? A notation I am familiar with uses outward facing brackets if the value is…
_Microft on HN
Many-valued functions such as inverse trig
From 1 comment
Very cool, I'll definitely be playing around with this some more! Two questions: - How difficult would it be to add many-valued functions to this? It would be really nice to be…
noncovalence on HN
Questions
Whether the bounds rounding description is correct
From 1 comment
Very cool, I'll definitely be playing around with this some more! Two questions: - How difficult would it be to add many-valued functions to this? It would be really nice to be…
noncovalence on HN
Alternatives named
GrafEq
From 1 comment
Looks like GrafEq? http://www.peda.com/grafeq/
0xml on HN