// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class CosProblem {
    public static void main(String[] args) {
        System.out.println(Math.pow(10,10));
        System.out.println(Math.cos(Math.pow(10,10)));
        System.out.println(Math.pow(10,100));
        System.out.println(Math.cos(Math.pow(10,100)));
        System.out.println(2*Math.PI*Math.pow(10,100));
        System.out.println(Math.cos(2*Math.PI*Math.pow(10,100)));
    }
}
