Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
442 bytes
|
Line | |
---|
1 | "use strict";
|
---|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
3 | const ulp_1 = require("./ulp");
|
---|
4 | describe("math ulp helper", () => {
|
---|
5 | it("should compute ulp of integer", () => {
|
---|
6 | expect(ulp_1.default(1)).toBe(2.220446049250313e-16);
|
---|
7 | });
|
---|
8 | it("should compute ulp of floating point number", () => {
|
---|
9 | expect(ulp_1.default(0.000333)).toBe(5.421010862427522e-20);
|
---|
10 | });
|
---|
11 | });
|
---|
12 | //# sourceMappingURL=ulp.spec.js.map |
---|
Note:
See
TracBrowser
for help on using the repository browser.