Package rekall :: Module algo
[frames] | no frames]

Module algo

source code

This module contains general-purpose algorithms and data structures.


Author: Adam Sindelar <adamsh@google.com>

Functions
 
EulersDecimals()
Yields decimals of Euler's number, using continued fractions.
source code
Variables
  __package__ = None
hash(x)
Function Details

EulersDecimals()

source code 

Yields decimals of Euler's number, using continued fractions.

This is used to generate random looking, but deterministic series of digits for testing purposes. Unlike PRNGs, the output is always guaranteed to be the same and is implementation-independent.

For explanation of how this works see (for example) here: http://mathworld.wolfram.com/eContinuedFraction.html