Mercurial > hg > aim92
comparison man/man1/ftos.1 @ 0:5242703e91d3 tip
Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author | tomwalters |
---|---|
date | Fri, 20 May 2011 15:19:45 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:5242703e91d3 |
---|---|
1 .TH FTOS 1 "7 September 1993" | |
2 | |
3 .SH NAME | |
4 | |
5 ftos \- float to short data-type conversion. | |
6 | |
7 .SH SYNTAX | |
8 | |
9 Usage: ftos [arguments] [file] | |
10 | |
11 .SH DESCRIPTION | |
12 | |
13 Binary float-to-short conversion. | |
14 | |
15 .SH OPTIONS | |
16 | |
17 1. error | |
18 | |
19 When error=on then the maximum and the mean quantization error is printed on | |
20 the stderr. The quantization error for each floating point number x under the | |
21 truncating operation int(x) is defined as | |
22 the absolute quantization error as a proportion of the range: | |
23 | |
24 .nf | |
25 (x-int(x)) / int(1+x) | |
26 .fi | |
27 | |
28 16-bit under or overflow is also reported if it occurs. | |
29 | |
30 | |
31 .SH "SEE ALSO" | |
32 .LP | |
33 options stof btoa atob | |
34 | |
35 .SH COPYRIGHT | |
36 .LP | |
37 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995 | |
38 .LP | |
39 Permission to use, copy, modify, and distribute this software without fee | |
40 is hereby granted for research purposes, provided that this copyright | |
41 notice appears in all copies and in all supporting documentation, and that | |
42 the software is not redistributed for any fee (except for a nominal | |
43 shipping charge). Anyone wanting to incorporate all or part of this | |
44 software in a commercial product must obtain a license from the Medical | |
45 Research Council. | |
46 .LP | |
47 The MRC makes no representations about the suitability of this | |
48 software for any purpose. It is provided "as is" without express or | |
49 implied warranty. | |
50 .LP | |
51 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING | |
52 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL | |
53 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES | |
54 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, | |
55 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, | |
56 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS | |
57 SOFTWARE. | |
58 |