ftos
Manual Reference Pages - FTOS (1)
ftos - float to short data-type conversion.
CONTENTS
Syntax
Description
Options
Copyright
SYNTAX
Usage: ftos [arguments] [file]
DESCRIPTION
Binary float-to-short conversion.
OPTIONS
1. error
When error=on then the maximum and the mean quantization error is printed onthe stderr. The quantization error for each floating point number x under thetruncating operation int(x) is defined asthe absolute quantization error as a proportion of the range:
(x-int(x)) / int(1+x)16-bit under or overflow is also reported if it occurs.
SEE ALSO
options stof btoa atob
COPYRIGHT
Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
Permission to use, copy, modify, and distribute this software without feeis hereby granted for research purposes, provided that this copyrightnotice appears in all copies and in all supporting documentation, and thatthe software is not redistributed for any fee (except for a nominalshipping charge). Anyone wanting to incorporate all or part of thissoftware in a commercial product must obtain a license from the MedicalResearch Council.
The MRC makes no representations about the suitability of thissoftware for any purpose. It is provided "as is" without express orimplied warranty.
THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDINGALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALLTHE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGESOR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THISSOFTWARE.
| SunOS 5.6 | FTOS (1) | 7 September 1993 |