Y
Hacker News
new
|
ask
|
show
|
jobs
by
quickthrower2
828 days ago
So you can use sin(x) for various x to tell what you are running on. Maybe even in the browser?
2 comments
Karliss
828 days ago
There is a shader which uses similar idea to detect what kind of GPU you have
https://www.shadertoy.com/view/slySWV
link
lifthrasiir
828 days ago
V8 and SpiderMonkey have converged to the same underlying library (fdlibm), partly for the interoperability, so you generally can't.
link