Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
quickthrower2
· 2y ago · 0 comments
So you can use sin(x) for various x to tell what you are running on. Maybe even in the browser?
Comments
[–]
Karliss
2y ago
There is a shader which uses similar idea to detect what kind of GPU you have
https://www.shadertoy.com/view/slySWV
[–]
lifthrasiir
2y ago
V8 and SpiderMonkey have converged to the same underlying library (fdlibm), partly for the interoperability, so you generally can't.