Copysign - Analog Devices VISUALDSP++ 3.5 Manual

C/c++ compiler and library for adsp-219x processors
Hide thumbs Also See for VISUALDSP++ 3.5:
Table of Contents

Advertisement

copysign

copy the sign
Synopsis
#include <math.h>
float copysignf (float parm1, float parm2)
double copysign (double parm1, double parm2)
fract16 copysign_fr16 (fract16 parm1, fract16 parm2)
Description
This function copies the sign of the second argument to the first
argument.
Algorithm
return (|parm1| * copysignof(parm2))
Domain
Full range for type of parameters used.
VisualDSP++ 3.5 C/C++ Compiler and Library Manual
for ADSP-219x DSPs
DSP Run-Time Library
4-51

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VISUALDSP++ 3.5 and is the answer not in the manual?

Questions and answers

Related Products for Analog Devices VISUALDSP++ 3.5

Table of Contents