[Jspro-cvs] jsPro constants.js,1.6,1.7
Brought to you by:
wigleys
|
From: <gat...@us...> - 2003-09-15 01:52:20
|
Update of /cvsroot/jspro/jsPro
In directory sc8-pr-cvs1:/tmp/cvs-serv18932
Modified Files:
constants.js
Log Message:
added constants for two-term, Machin-like formulas for use with Math.pi()
Index: constants.js
===================================================================
RCS file: /cvsroot/jspro/jsPro/constants.js,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** constants.js 6 Sep 2003 01:48:41 -0000 1.6
--- constants.js 15 Sep 2003 01:52:16 -0000 1.7
***************
*** 29,33 ****
*
* @author Randolph Fielding
! * @version 1.1, 08/15/03
* @interface <code>new Constants()</code>
*/
--- 29,33 ----
*
* @author Randolph Fielding
! * @version 1.2, 09/14/03
* @interface <code>new Constants()</code>
*/
***************
*** 44,47 ****
--- 44,53 ----
this.DOCTYPE_UNIXTEXT = 3;
this.DOCTYPE_MACTEXT = 4;
+
+ // two-term, Machin-like formula constants
+ this.FORMULA_MACHIN = 0;
+ this.FORMULA_EULER = 1;
+ this.FORMULA_HERMANN = 2;
+ this.FORMULA_HUTTON = 3;
// side constants
|