java.lang.Math.ulp(double d) java.lang.Math.toRadians(double angdeg) java.lang.Math.ulp(float f) java.lang.Math.ulp(double d) package com.codingdict; import java.lang.*; public class MathDemo { public static void main(String[] args) { // get two double numbers numbers double x = 956.294; double y = 123.1; // print the ulp of these doubles System.out.println("Math.ulp(" + x + ")=" + Math.ulp(x)); System.out.println("Math.ulp(" + y + ")=" + Math.ulp(y)); } } java.lang.Math.toRadians(double angdeg) java.lang.Math.ulp(float f)