[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

imaxabs Subroutine

Purpose

Returns absolute value.

Syntax

#include <inttypes.h>

intmax_t imaxabs (j)
intmax_t j;

Description

The imaxabs subroutine computes the absolute value of an integer j. If the result cannot be represented, the behavior is undefined.

Parameters

j Specifies the value to be computed.

Return Values

The imaxabs subroutine returns the absolute value.

Related Information

The imaxdiv Subroutine.

inttypes.h File in AIX 5L Version 5.2 Files Reference.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]