_copysign (Windows CE 5.0)

Send Feedback

Developing an Application > Microsoft C Run-time Library for Windows CE > Run-time Library Reference

Return one value with the sign of another.

double _copysign(    doublex,doubley);

Parameters

  • x
    Double-precision floating-point value to be changed.
  • y
    Double-precision floating-point value.

Return Values

_copysign returns its double-precision floating point argument x with the same sign as its double-precision floating-point argument y.

There is no error return.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: float.h.
Link Library: coredll.dll.

See Also

fabs | _chgsign

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.