Query: scalbn
OS: osx
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SCALBN(3) BSD Library Functions Manual SCALBN(3)NAMEscalbn, scalblnSYNOPSIS#include <math.h> double scalbn(double x, int n); long double scalbnl(long double x, int n); float scalbnf(float x, int n); double scalbln(double x, long int n); long double scalblnl(long double x, long int n); float scalblnf(float x, long int n);DESCRIPTIONThe scalbn() , and scalbln() functions return x*(2**n) computed by exponent manipulation.SPECIAL VALUESscalbn(+-0, n) returns +-0. scalbn(x, 0) returns x. scalbn(+-infinity, n) returns +-infinity. scalbln() has the same special values.NOTEThe scalb() function is deprecated. scalbn() should be used instead.VECTOR OPERATIONSIf you need to apply the scalbn() functions to SIMD vectors or arrays, using the following function provided by the Accelerate.framework may give significantly better performance: #include <Accelerate/Accelerate.h> vFloat vscalbf(vFloat x, vSInt32);SEE ALSOmath(3), ldexp(3)STANDARDSThe scalbn() and scalbln() functions conform to ISO/IEC 9899:2011.BSDJuly 02, 2008 BSD
Related Man Pages |
---|
scalbnf(3m) - opensolaris |
scalbnl(3m) - opensolaris |
scalbln(3) - centos |
scalbln(3m) - opensolaris |
scalbn(3m) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
Perl:: mass replacement of converting C code formats to tgmath.h |