LCOV - code coverage report
Current view: top level - randomjs/distribution - realZeroToOneInclusive.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 { uint53Full } from "./uint53Full.ts";
       4             : 
       5             : /**
       6             :  * Returns a floating-point value within [0.0, 1.0]
       7             :  */
       8           0 : export function realZeroToOneInclusive(engine: Engine): number {
       9           0 :   return uint53Full(engine) / SMALLEST_UNSAFE_INTEGER;
      10           0 : }

Generated by: LCOV version 1.15