From 4972deb36e4197705a57d2fd8e422554dfeb2d7d Mon Sep 17 00:00:00 2001 From: Michael Mclaughlin Date: Fri, 8 Nov 2013 15:23:36 +0000 Subject: [PATCH] v1.3.0 --- doc/API.html | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/doc/API.html b/doc/API.html index c062a64..12dd208 100644 --- a/doc/API.html +++ b/doc/API.html @@ -198,14 +198,18 @@ code,pre{font-family:Monaco,Consolas,"Lucida Console",monospace; notation.
- String values in hexadecimal literal form, e.g. '0xff', are invalid, and - string values in octal literal form will be interpreted as decimals, - e.g. '011' is 11, not 9. + String values in hexadecimal literal form, e.g. '0xff', are + invalid, and string values in octal literal form will be interpreted as + decimals, e.g. '011' is interpreted as 11, not 9.
Values in any base may have fraction digits.
- In bases above 10, numerals above 9 are represented by lower-case - letters. + For bases from 10 to 36, lower and/or upper case letters can be used to + represent values from 10 to 35. For bases above 36, a-z + represents values from 10 to 35, A-Z from 36 to 61, and + $ and _ represent 62 and 63 respectively + (this can be changed by ediiting the DIGITS variable near the top of the + source file).
@@ -650,7 +654,7 @@ y.neg() // '1.3'

Returns a BigNumber whose value is the square root of this BigNumber, - rounded according to the current + correctly rounded according to the current DECIMAL_PLACES and ROUNDING_MODE settings.

@@ -1208,9 +1212,10 @@ y.toP(5) // '45.600'

Returns a string representing the value of this BigNumber in the specified - base, or base 10 if base is omitted. Like - Number.toString, in bases above 10, numerals above 9 are - represented by lower-case letters. + base, or base 10 if base is omitted. For bases above 10, + values from 10 to 35 are represented by a-z (as with + Number.toString), 36 to 61 by A-Z, and 62 and 63 + by $ and _ respectively.

If a base is specified the value is rounded according to the current