mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

analysis/

mg_power2.pro


Routines

top mg_power2

result = mg_power2(x)

Finds the next power of 2. Returns the input value if it is already a power of 2.

Return value

integer of the same type as the input x

Parameters

x in required type=integer type

input value

File attributes

Modification date: Wed May 14 15:07:14 2014
Lines: 12
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.