Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
archgoon
7y ago
0 comments
Share
Nope; doesn't work for clang. Clang actually detects and compiles the algebraic closed form sum(i^2, n) for a bound n.
0 comments
default
newest
oldest
trogdc
7y ago
You'd have to use "volatile int n"
j
/
k
navigate · click thread line to collapse