LCOV - code coverage report
Current view: top level - randomjs/distribution - realZeroToOneExclusive.ts (source / functions) Hit Total Coverage
Test: coverage.lcov Lines: 2 5 40.0 %
Date: 2021-03-12 10:43:40 Functions: 0 1 0.0 %

          Line data    Source code
       1             : import { Engine } from "../types.ts";
       2           1 : import { SMALLEST_UNSAFE_INTEGER } from "../utils/constants.ts";
       3           1 : import { uint53 } from "./uint53.ts";
       4             : 
       5             : /**
       6             :  * Returns a floating-point value within [0.0, 1.0)
       7             :  */
       8           0 : export function realZeroToOneExclusive(engine: Engine): number {
       9           0 :   return uint53(engine) / SMALLEST_UNSAFE_INTEGER;
      10           0 : }

Generated by: LCOV version 1.15