| 21 |
|
#define M_PI 3.14159265358979323846 |
| 22 |
|
#endif |
| 23 |
|
|
| 24 |
– |
#ifndef MAXCOMP |
| 25 |
– |
#define MAXCOMP MAXCSAMP /* #components we support */ |
| 26 |
– |
#endif |
| 27 |
– |
|
| 24 |
|
/* Unary matrix operation(s) */ |
| 25 |
|
typedef struct { |
| 26 |
|
double cmat[MAXCOMP*MAXCOMP]; /* component transformation */ |
| 1034 |
|
return(1); |
| 1035 |
|
mop[nmats].rmp->ncols = mcat->ncols; |
| 1036 |
|
} |
| 1037 |
+ |
#if DTrmx_native==DTfloat |
| 1038 |
+ |
if (outfmt == DTdouble) |
| 1039 |
+ |
fprintf(stderr, "%s: warning - writing float result as double\n", argv[0]); |
| 1040 |
+ |
#endif |
| 1041 |
|
newheader("RADIANCE", stdout); /* write output header */ |
| 1042 |
|
if (echoheader) |
| 1043 |
|
output_headinfo(stdout); |