/usr/include/ncarg/hlu/hluutil.h is in libncarg-dev 6.4.0-9.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 | /*
* $Id: hluutil.h,v 1.9 2004-06-16 00:29:39 dbrown Exp $
*/
/************************************************************************
* *
* Copyright (C) 1992 *
* University Corporation for Atmospheric Research *
* All Rights Reserved *
* *
************************************************************************/
/*
* File: hluutil.h
*
* Author: Ethan Alpert
* National Center for Atmospheric Research
* PO 3000, Boulder, Colorado
*
* Date: Tue Sep 15 16:44:03 MDT 1992
*
* Description: Header file for util library.
*/
#ifndef _Nhluutil_h
#define _Nhluutil_h
#include <ncarg/c.h>
#include <ncarg/gks.h>
#include <ncarg/hlu/hlu.h>
#ifndef NhlNeedProto
#ifdef __STDC__
#define Const const
#define NhlNeedProto 1
#else
#define Const
#define NhlNeedProto 0
#endif
#endif /* NhlNeedProto */
#ifndef _NHLCALLF
#define _NHLCALLF(reg,cap) NGCALLF(reg,cap)
#endif /* _NHLCALLF */
#define _NhlMIN_NONZERO 1e-32
typedef struct compar_dat {
int is_zero;
int exp;
float b_final;
int sig_dig;
float orig_val;
float lg_abs;
}NhlCompareDat;
extern int wksisact(
#if NhlNeedProto
int /*n*/
#endif
);
extern int wksisopn(
#if NhlNeedProto
int /*n*/
#endif
);
extern int searchb(
#if NhlNeedProto
float * /*a*/,
int /*n */,
float /*value*/
#endif
);
extern void linaprox(
#if NhlNeedProto
int /* n */,
float * /* x */,
float * /* y */,
float * /* c */
#endif
);
extern void evallinaprox(
#if NhlNeedProto
int /* n */,
float * /* x */,
float * /* y */,
float * /* c */,
float /* xval */,
float * /* yval */
#endif
);
extern void strans(
#if NhlNeedProto
float froml,
float fromr,
float fromb,
float fromt,
float tol,
float tor,
float tob,
float tot,
float x,
float y,
float *xout,
float *yout
#endif
);
extern NhlCompareDat *_NhlCmpFSetup(
#if NhlNeedProto
float /*val*/,
int /*sig_dig*/
#endif
);
extern float _NhlCmpF(
#if NhlNeedProto
float /* a */,
NhlCompareDat * /*b*/
#endif
);
extern double _NhlCmpDAny(
#if NhlNeedProto
double /* a */,
double /*b*/,
int sig_dig
#endif
);
extern float _NhlCmpFAny(
#if NhlNeedProto
float /* a */,
float /*b*/,
int sig_dig
#endif
);
extern float _NhlRndIt(
#if NhlNeedProto
float /* a */,
int /*sig_digit*/
#endif
);
extern float _NhlCmpFAny2(
#if NhlNeedProto
float a,
float b,
int sig_dig,
float min_nonzero
#endif
);
extern double _NhlCmpDAny2(
#if NhlNeedProto
double a,
double b,
int sig_dig,
double min_nonzero
#endif
);
extern NhlErrorTypes _NhlGetEndpointsAndStepSize(
#if NhlNeedProto
double min,
double max,
int max_steps,
NhlBoolean outside,
double *min_out,
double *max_out,
double *step_size
#endif
);
#endif /* _Nhluutil_h */
|