Share via


_scalb (Windows CE 5.0)

Send Feedback

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

Scales argument by a power of 2.

double _scalb(    doublex,longexp);

Parameters

  • x
    Double-precision floating-point value.
  • exp
    Long integer exponent.

Return Values

_scalb returns an exponential value if successful.

On overflow (depending on the sign of x), _scalb returns +/– HUGE_VAL.

Remarks

The _scalb function calculates the value of x * 2exp.

Requirements

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

See Also

ldexp

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.