Command: ldexp

NEST HelpDesk Command Index NEST Quick Reference

Name:
 ldexp - computes the product of integer power of 2 and a factor
Synopsis:
 double integer ldexp -> double 
Description:
 This is an interface to the C++ function 
 double std::ldexp(double,int)
Examples:
 
  1.5 3 ldexp -> 12
  12.0 frexp -> 0.75 4
  12.0 frexp ldexp -> 12.0
  1.0 -5 ldexp frexp -> 0.5 -4
Author:
 Diesmann
FirstVersion:
 17.5.2005
References:
 Stroustrup 3rd ed p 661 
SeeAlso:frexp dexp modf
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/sli/slimath.cc

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative