The example displays 10 digits. The value of PI should be shown as accurate to 15 digits.

Fix the example.

Part 4, 3.17.7.249

ed

Proposed Disposition of DIS 29500 Comment ECMA-0073 (Modified: 2007-10-22) While it is true that PI must compute the value to at least 15 significant figures, the result might be displayed using fewer than that number. To clarify this, the example will be changed, as follows: [Example: The following results are displayed using 10 significant figures PI() results in 3.141592654 PI()/2 results in 1.570796327 PI()*(2.5^2) results in 19.63495408 end example] Similar Comments: CA-0050 , FR-0448 , GB-0421 , US-0244

Tag and Go

No Comments

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

  • Argentina (1)
  • Australia (30)
  • Austria (1)
  • Belgium (1)
  • Brazil (64)
  • Bulgaria (3)
  • Canada (79)
  • Chile (217)
  • China (1)
  • Colombia (237)
  • Czech Republic (75)
  • Denmark (168)
  • Ecma (76)
  • Ecuador (1)
  • Finland (15)
  • France (592)
  • Germany (162)
  • Ghana (12)
  • Greece (113)
  • India (82)
  • Iran (58)
  • Ireland (12)
  • Israel (33)
  • Italy (2)
  • Japan (82)
  • Jordan (1)
  • Kenya (81)
  • Malaysia (23)
  • Malta (5)
  • Mexico (7)
  • New Zealand (54)
  • Norway (12)
  • Peru (10)
  • Philippines (7)
  • Poland (4)
  • Portugal (118)
  • Singapore (2)
  • South Africa (17)
  • South Korea (25)
  • Spain (1)
  • Switzerland (19)
  • Thailand (1)
  • Tunisia (3)
  • Turkey (1)
  • UK (635)
  • Uruguay (18)
  • USA (288)
  • Venezuela (73)