code: static double sin_roquen_9(double v) {
        double i  = java.lang.Math.rint(v*PI_INV);
        double x  = v - i * Math.PI;
        double qs = 1-2*((int)i & 1);
        double x2 = x*x;
        double r;
        x = qs*x;
        r =        s5;
        r = r*x2 + s4;
        r = r*x2 + s3;
        r = r*x2 + s2;
        r = r*x2 + s1;
        return x*r;
      }
docs: Reference: <a href="http://www.java-gaming.org/topics/joml-1-8-0-release/37491/msg/361815/view.html#msg361815">http://www.java-gaming.org/</a>