Initial code for g2d() & d2g() builtins

We still need to add:

    help files for g2d & d2g
    regression tests for g2d & d2g
    notes in related trig help files
    note in unexpected help file
    note in CHANGES
This commit is contained in:
Landon Curt Noll
2021-09-07 07:59:51 -07:00
parent 806606f284
commit 554cd97145
4 changed files with 78 additions and 2 deletions

View File

@@ -35,7 +35,7 @@
#endif
#define INITCONSTCOUNT 9 /* number of initnumbs[] pre-defined constants */
#define INITCONSTCOUNT 12 /* number of initnumbs[] pre-defined constants */
/*
* Rational arithmetic definitions.
@@ -275,6 +275,7 @@ static inline NUMBER* qlink(NUMBER* q) { if(q) { (q)->links++; } return q; }
*/
EXTERN NUMBER _qzero_, _qone_, _qnegone_, _qonehalf_, _qneghalf_, _qonesqbase_;
EXTERN NUMBER _qtwo_, _qthree_, _qfour_, _qten_;
EXTERN NUMBER _qtendivnine_, _qninedivten_;
EXTERN NUMBER * initnumbs[];