In GLSL there's rudimentary support for double precision variables and operations which can be found here. However they also mention "Double-precision versions of angle, trigonometry, and exponential functions are not supported.".
Is there a simple workaround for this, or do I have to write my own functions from scratch?