Settings

Theme

Consteval Riemann zeta function and plot

github.com

1 points by DaveFlater · 2 comments

Reader

1 thread
DaveFlaterOP

Rzzeta is a C++26 demo/stunt that generates an ASCII plot of the magnitude of the Riemann zeta function at compile time. It works in suitably recent g++.

The hard part was discovering and working around library functions that could or should have been declared constexpr but were not, beginning with std::riemann_zeta (though that is furthermore limited to real numbers).

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection