WebDrake/phobos — pull request #3 by jerro (2012-12-20 17:43:48+00:00)
Title: Normal

- Added comments
- Use `fastUniformFloat` in Box-Muller
- Avoided the enforcement in Normal.opCall
- Always use at least double precision to compute the table for Ziggurat algorithm(`intervalMinMax` doesn't converge for single precision with 256 layers or more).
- Made the handling of head and tale in `zigguratAlgorithmImpl` a bit more elegant
- Added a small optimization to `zigguratAlgorithm`
- Renamed `NormalZigguratEngine64` to `NormalZigguratEngine` and got rid of the `NormalZigguratEngineImpl` wrapper template. Also changed the number of layers to 128.