source: trip-planner-front/node_modules/hdr-histogram-js/src/Int16Histogram.ts@ 1ad8e64

Last change on this file since 1ad8e64 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 685 bytes
Line 
1/*
2 * This is a TypeScript port of the original Java version, which was written by
3 * Gil Tene as described in
4 * https://github.com/HdrHistogram/HdrHistogram
5 * and released to the public domain, as explained at
6 * http://creativecommons.org/publicdomain/zero/1.0/
7 */
8import TypedArrayHistogram from "./TypedArrayHistogram";
9
10class Int16Histogram extends TypedArrayHistogram {
11 constructor(
12 lowestDiscernibleValue: number,
13 highestTrackableValue: number,
14 numberOfSignificantValueDigits: number
15 ) {
16 super(
17 Uint16Array,
18 lowestDiscernibleValue,
19 highestTrackableValue,
20 numberOfSignificantValueDigits
21 );
22 }
23}
24
25export default Int16Histogram;
Note: See TracBrowser for help on using the repository browser.