NAN
-
부동소수점 연산과 nan 값에 대한 이해카테고리 없음 2024. 4. 5. 21:26
nan nan은 nan과 같지 않습니다. 그렇기 때문에 위 코드에서 같은 x끼리 비교를 하더라도 결과는 동일합니다. nan과 nan을 비교하였을 때 nan과 nan 비교 결과 nan과 nan의 비교: nan과 nan은 서로 다릅니다. 동일한 x비교: 위 코드에서 동일한 x끼리 비교해도 결과는 똑같습니다. nan 비교 결과 nan 서로 다름 위 내용은 nan과 nan을 비교했을 때의 결과를 보여줍니다. nan과 같음을 기대하지 마십시오.다른한 renowned formula tieten.nan 때도 결과는 마찬가지입니다. nan은 숫자가 아니기 때문에 다른 숫자들과 연산이 수행되면 결과로 nan을 받게 됩니다. nan은 float type입니다. nan은 숫자가 아닌 특수한 값 nan과 다른 숫자를 연산하면..