1 parent 0bed848 commit 5d65076Copy full SHA for 5d65076
1 file changed
test/elm/arithmetic/arithmetic-test.ts
@@ -565,13 +565,11 @@ describe('Ln', () => {
565
});
566
567
it('should be able to return the natural log of a number', async function () {
568
- const log4 = Decimal.from('1.3862943611198906').normalized();
569
- (await this.ln.exec(this.ctx)).should.equalDecimal(log4);
+ (await this.ln.exec(this.ctx)).should.equalDecimal('1.38629436'); // 1.3862943611198906 to 8 decimal places
570
571
572
it('should be able to return the natural log of a long', async function () {
573
574
- (await this.lnFourLong.exec(this.ctx)).should.equalDecimal(log4);
+ (await this.lnFourLong.exec(this.ctx)).should.equalDecimal('1.38629436');
575
576
577
0 commit comments