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 EPS2 1.0e-4
00020 #define TRUE 1
00021 #define FALSE 0
00022 #define EMPTY -1
00023 #define COLLISION -2
00024 #define HASHNO 15625
00025 
00026 typedef double REAL;
00027 typedef REAL VECTOR[MAX];
00028 typedef VECTOR MATRIX[MAX];
00029 
00030 typedef int TABLE[HASHNO];
00031 
00032 typedef int LOGICAL;
00033 
00034 typedef struct line {
00035     int index;
00036     int next;
00037     int last;
00038     int face[MAXRANK];
00039     unsigned int plane;
00040     REAL s[MAXRANK];
00041 } LINE;
00042 
00043 
00044 
00045 
00046 


euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 6 2019 18:05:53