Annotation of researchv10no/cmd/bcp/Units.h, revision 1.1.1.1

1.1       root        1: /* Copyright (c) 1989, 1990 AT&T --- All Rights Reserved.              */
                      2: /* THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T.                */
                      3: /* The copyright notice does not imply actual or intended publication. */
                      4: /* AUTHORS:                                            */
                      5: /*     H. S. Baird - ATT-BL MH - first versions        */
                      6: 
                      7: #define UNITS "icpPsu" /* units notation for:  inches, cm, points, picas,
                      8:                           scanner pixel (Scoor), and basic unit (also Scoor) */
                      9: 
                     10: #define INCHES_PER_POINT (0.0138)      /* cf. Chicago Manual of Style */
                     11: 
                     12: #define RADIANS_PER_DEGREE (PI/180.0)
                     13: #define DtoR (RADIANS_PER_DEGREE)      /* degrees * DtoR = radians */
                     14: 
                     15: #define Radians double         /* angle in radians */
                     16: 
                     17: /* machine-independent I/O has a resolution of 0.1 second of arc */
                     18: #define fwri_Radians(F,V) fwri_int3((F),(V)*2062648.1)
                     19: #define frdi_Radians(F) (frdi_int3(F)/(Radians)2062648.1)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.