Math.nextUp과 Math.nextDown에 대해서 알아보자double 또는 float 의 부동 소수점 값을 알고 싶을 때 java.math 패키지의 nextUp와 nextDown을 사용하면 된다.Math.nextUp의 대한 내용을 다음과 같습니다.d 값으로부터