1 // Copyright 2016 the V8 project authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 assertEquals(Math.E, Math.exp(1)); 6 assertEquals(Math.LN10, Math.log(10)); 7 assertEquals(Math.LN2, Math.log(2)); 8 assertEquals(Math.LOG10E, Math.log10(Math.E)); 9 assertEquals(Math.LOG2E, Math.log2(Math.E)); 10 assertEquals(Math.SQRT1_2, Math.sqrt(0.5)); 11 assertEquals(Math.SQRT2, Math.sqrt(2)); 12