tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

value.js (512B)


      1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
      2 // This code is governed by the BSD license found in the LICENSE file.
      3 /*---
      4 description: Math.PI is a numeric value
      5 esid: sec-math.pi
      6 info: |
      7    The Number value for pi, the ratio of the circumference of a circle to its
      8    diameter, which is approximately 3.1415926535897932.
      9 
     10    The precision of this approximation is host-defined.
     11 ---*/
     12 
     13 assert.sameValue(typeof Math.PI, 'number');
     14 assert.notSameValue(Math.PI, NaN);
     15 
     16 reportCompare(0, 0);