isnan

DONGJE LEE·2022년 7월 3일
0

C++

목록 보기
4/12
post-thumbnail

nan = not a number

계산 결과가 nan인지 아닌지는 isnan 함수를 사용하여 확인 가능

#include<cmath>

if(!isnan(...)) //nan이 아니면 if문 진행
profile
LiDAR & SLAM & Robotics & Autonomous System

0개의 댓글