Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
archgoon
· 8y ago · 0 comments
Nope; doesn't work for clang. Clang actually detects and compiles the algebraic closed form sum(i^2, n) for a bound n.
Comments
[–]
trogdc
8y ago
You'd have to use "volatile int n"