arith.h
Go to the documentation of this file.
00001 /*                                                              */      
00002 /*      Arithmetic Calculation Header                           */
00003 /*                                                              */
00004 /*      Ver.1.0, Apr. 5,1988.  for ssvdc()                      */
00005 /*      Ver.1.1, Jul.16,1988.  for cone()                       */
00006 /*      Ver.1.2, Jul.22,1988.  for cone() with face pointer     */
00007 
00008 #include <stdio.h>
00009 #include <math.h>
00010 #include <varargs.h>
00011 
00012 #define MAX 50
00013 #define MAXRANK 6
00014 #define MAXEDGE 2000
00015 #define EPS 1.0e-4
00016 /* NSPACE is used for the threshold under which the singular value is zero. */
00017 #define NSPACE 1.0e-4
00018 #define UNIT 1.0e-4
00019 #define TRUE 1
00020 #define FALSE 0
00021 #define EMPTY -1
00022 #define COLLISION -2
00023 #define HASHNO 15625
00024 
00025 typedef double REAL;
00026 typedef REAL VECTOR[MAX];
00027 typedef VECTOR MATRIX[MAX];
00028 
00029 typedef int TABLE[HASHNO];
00030 
00031 typedef int LOGICAL;
00032 
00033 typedef struct line {
00034     int index;
00035     int next;
00036     int last;
00037     int face[MAXRANK];
00038     unsigned int plane;
00039     REAL s[MAXRANK];
00040 } LINE;
00041 
00042 
00043 
00044 
00045 


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Mar 9 2017 04:57:49