Download Help (Windows Only) |

**Owning Palette: **FPGA IP Builder Functions

**Requires: **FPGA IP Builder. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.

Use the Numeric functions to create and perform arithmetic operations on numbers and to convert numbers from one data type to another.

Note This palette is specific to the FPGA IP Builder and contains a subset of the VIs and functions that are on this palette when you edit a host VI. |

Refer to the Numeric Palette Details topic for information about restrictions related to the objects on this palette.

Palette Object | Description |
---|---|

Absolute Value | Returns the absolute value of the input. |

Add | Computes the sum of the inputs. |

Compound Arithmetic | Performs arithmetic on one or more numeric, array, cluster, or Boolean inputs. To select the operation (Add, Multiply, AND, OR, or XOR), right-click the function and select Change Mode from the shortcut menu. When you select this function from the Numeric palette, the default mode is Add. When you select this function from the Boolean palette, the default mode is OR. |

Decrement | Subtracts 1 from the input value. |

Divide | Computes the quotient of the inputs. |

Increment | Adds 1 to the input value. |

Machine Epsilon | Represents the round-off error for a floating-point number with a given precision. Use the machine epsilon constant to compare whether two floating-point numbers are equivalent. |

Multiply | Returns the product of the inputs. |

Negate | Negates the input value. |

Negative Infinity | Returns the value negative infinity. |

Numeric Constant | Use the numeric constant to pass a numeric value to the block diagram. Set this value by clicking inside the constant with the Operating tool and typing a value. |

Positive Infinity | Returns the value infinity. |

Ring Constant | Use the ring constant to create a list of value pairs you can select on the block diagram. Each value pair consists of a numeric value and corresponding string label. |

Round To Nearest | Rounds the input to the nearest integer. If the value of the input is midway between two integers, the function returns the nearest even integer. |

Round Toward -Infinity | Truncates the input to the next lowest integer. |

Round Toward +Infinity | Rounds the input to the next highest integer. |

Scale By Power Of 2 | Multiplies x by 2 raised to the power of n. |

Sign | Returns the sign of number. |

SGL Numeric Constant | Passes a single-precision, floating-point numeric value to the block diagram. |

Square | Computes the square of the input value. |

Square Root | Computes the square root of the input value. |

Subtract | Computes the difference of the inputs. |

Subpalette | Description |
---|---|

Conversion Functions | Use the Conversion functions to convert data types. |

Data Manipulation Functions | Use the Data Manipulation functions to modify data values used in LabVIEW. |

Fixed-Point Functions | Use the Fixed-Point functions to shift the bit pattern of a fixed-point number. |

Math & Scientific Constants | Use the Math & Scientific constants to add commonly used constants to LabVIEW applications. |