Last change
on this file since 6a80231 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 | */
|
---|
8 | import TypedArrayHistogram from "./TypedArrayHistogram";
|
---|
9 |
|
---|
10 | class 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 |
|
---|
25 | export default Int16Histogram;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.