Main Content

이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

MATLAB의 부동소수점 사양

single형, half형 등의 부동소수점 데이터형 생성 및 사용

단정밀도 숫자는 32비트만 사용하므로 배정밀도 숫자보다 필요한 메모리가 적으면서도 부동소수점 연산방식의 다양한 이점을 제공합니다. 반정밀도 데이터형은 16비트의 메모리만 차지하지만, 부동소수점 표현에서 반정밀도 데이터형은 동일한 크기의 정수 데이터형이나 고정소수점 데이터형보다 더 넓은 동적 범위를 처리할 수 있습니다. CustomFloat 객체를 사용하여, 지정된 워드 길이와 가수 길이를 갖는 부동소수점 숫자 데이터형을 정의할 수 있습니다.

클래스

Simulink.NumericTypeSpecify floating-point, integer, or fixed-point data type
target.FloatingPointDataTypeDescribe floating point data type implemented by compiler for target hardware (R2021b 이후)

함수

모두 확장

single단정밀도 배열
halfConstruct half-precision numeric object
pow10밑 10의 거듭제곱 및 스케일링 반정밀도 숫자
rsqrt역수 제곱근
fmaMultiply and add using fused multiply add approach
target.addAdd target object to internal database
target.createCreate target object
target.getRetrieve target objects from internal database
target.removeRemove target object from internal database
CustomFloatNumeric object with a custom floating-point data type (R2020a 이후)

네임스페이스

targetManage target hardware and build tool information

도움말 항목

관련 정보