blob: bf9a4605cdb6df0a2bb5759a180ea6268891d66f [file] [log] [blame]
Ben Murdoch61f157c2016-09-16 13:49:30 +01001// 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
5assertEquals(Math.E, Math.exp(1));
6assertEquals(Math.LN10, Math.log(10));
7assertEquals(Math.LN2, Math.log(2));
8assertEquals(Math.LOG10E, Math.log10(Math.E));
9assertEquals(Math.LOG2E, Math.log2(Math.E));
10assertEquals(Math.SQRT1_2, Math.sqrt(0.5));
11assertEquals(Math.SQRT2, Math.sqrt(2));