EasyManuals Logo

Texas Instruments TMS34010 Reference Guide

Texas Instruments TMS34010
181 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #92 background imageLoading...
Page #92 background image
Absolute
Value
abs/labs
Syntax
#include
<stdlib.h>
int
abs(j}
int
ji
long
int
labs(k)
long
int
ki
Defined
in
abs.
c in
rts.
src
Description
The C compiler supports
two
functions that return the absolute value
of
an
integer:
The abs function returns the absolute value
of
an
integer,
j.
The labs function returns the absolute value
of
a long integer,
k.
Since int and long int
are
functionally equivalent types in TMS3401 0
C,
the
abs and
labs functions
are
also functionally equivalent.
6-17

Table of Contents

Other manuals for Texas Instruments TMS34010

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments TMS34010 and is the answer not in the manual?

Texas Instruments TMS34010 Specifications

General IconGeneral
BrandTexas Instruments
ModelTMS34010
CategoryComputer Hardware
LanguageEnglish

Related product manuals