Content-type: text/html
Manpage of float2txt
float2txt
Section: User Commands (1)
Index
Return to Main Contents
NAME
float2txt - Converts big-endian binary float data to text.
SYNOPSIS
float2txt [decimal_places] [-linenum] [-components <N>]
DESCRIPTION
Reads big-endian binary floating point data from the standard input
and outputs each float as text in scientific notation with six
decimal places by default, although the number of decimal places can
be specificied, optionally, as the first command line argument.
EXAMPLES
Output as text the floats stored as binary data in test.Bfloat:
cat test.Bfloat | float2txt
The output has the form:
5.500000E01
-1.003820E-01
-1.230454E01
-1.447965E01
4.998373E00
:
Specify 8 decimal places rather than the default 6:
cat test.Bfloat | float2txt 8
The output has the form:
5.50000000E01
-1.00381965E-01
-1.23045428E01
-1.44796451E01
4.99837343E00
:
OPTIONS
The first option is a single integer for the number of decimal places in
the output. It is required if other options are specified.
- -linenum
-
Print line numbers in output.
- -components <N>
-
Assume output is voxel data with N components. Output will be annotated
with voxel number and component number.
AUTHORS
Daniel Alexander <camino@cs.ucl.ac.uk>
SEE ALSO
double2txt(1), byte2txt(1), char2txt(1), short2txt(1), int2txt(1),
long2txt(1), shredder(1).
BUGS
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- EXAMPLES
-
- OPTIONS
-
- AUTHORS
-
- SEE ALSO
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 02:06:54 GMT, December 10, 2011