[BACK]Return to gp.h CVS log [TXT][DIR] Up to [local] / OpenXM_contrib / pari-2.2 / src / gp

Annotation of OpenXM_contrib/pari-2.2/src/gp/gp.h, Revision 1.1.1.1

1.1       noro        1: /* $Id: gp.h,v 1.5 2000/11/03 21:00:23 karim Exp $
                      2:
                      3: Copyright (C) 2000  The PARI group.
                      4:
                      5: This file is part of the PARI/GP package.
                      6:
                      7: PARI/GP is free software; you can redistribute it and/or modify it under the
                      8: terms of the GNU General Public License as published by the Free Software
                      9: Foundation. It is distributed in the hope that it will be useful, but WITHOUT
                     10: ANY WARRANTY WHATSOEVER.
                     11:
                     12: Check the License for details. You should have received a copy of it, along
                     13: with the package; see the file 'COPYING'. If not, write to the Free Software
                     14: Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
                     15:
                     16: /*************************************************************************/
                     17: /*                                                                       */
                     18: /*                      GP-SPECIFIC DECLARATIONS                         */
                     19: /*                                                                       */
                     20: /*************************************************************************/
                     21:
                     22: void recover(int flag);
                     23: void pari_addfunctions(module **modlist_p, entree *func, char **help);
                     24: int term_height();
                     25: int term_width();
                     26: void hit_return();
                     27:
                     28: extern ulong init_opts;
                     29: extern char *current_logfile;
                     30: extern jmp_buf environnement;
                     31:
                     32: /* for do_time() */
                     33: enum { ti_NOPRINT, ti_REGULAR, ti_LAST, ti_INTERRUPT };
                     34:
                     35: /* GP printing format */
                     36: typedef struct gp_format {
                     37:   char format; /* f, g or h */
                     38:   long field;  /* (0 = ignore) */
                     39:   long nb;     /* significant digits for reals (-1 = all) */
                     40: } gp_format;
                     41:
                     42: /* default functions (i.e setd*) */
                     43: #define is_default(s) setdefault((s),"",d_EXISTS)==gun
                     44: enum { d_ACKNOWLEDGE, d_INITRC, d_SILENT, d_RETURN, d_EXISTS };
                     45:
                     46: /* output format */
                     47: enum { f_RAW, f_PRETTYMAT, f_PRETTYOLD, f_PRETTY, f_TEX, NBFORMATS };
                     48:
                     49: /* aide() */
                     50: #define h_REGULAR 0
                     51: #define h_LONG    1
                     52: #define h_APROPOS 2
                     53: #define h_RL      4

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>