Skip to Main Content Skip to Search
Product Documentation

isscalingbinarypoint - Determine whether input has binary point scaling

Syntax

y = isscalingbinarypoint(a)
y = isscalingbinarypoint(T)

Description

y = isscalingbinarypoint(a) returns 1 when the fi object a has binary point scaling or trivial slope and bias scaling. Otherwise, the function returns 0. Slope and bias scaling is trivial when the slope is an integer power of two and the bias is zero.

y = isscalingbinarypoint(T) returns 1 when the numerictype object T has binary point scaling or trivial slope and bias scaling. Otherwise, the function returns 0. Slope and bias scaling is trivial when the slope is an integer power of two and the bias is zero.

See Also

isboolean | isdouble | isfixed | isfloat | isscaleddouble | isscaledtype | isscalingslopebias | isscalingunspecified | issingle

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS