Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

Determines the absolute value of a value.

Files

lib_def.h

Prototype

Arguments

val

Value to calculate absolute value.

Returned Value

The absolute value of val.

Required Configuration

None.

Notes / Warnings

Ideally, DEF_ABS() should be defined in the custom mathematics library, lib_math.*. However, to maintain backwards compatibility with previously-released modules, DEF_ABS() is still defined in lib_def.h .

Example Usage

  • No labels