Mercurial > octave-nkf
comparison libinterp/corefcn/file-io.cc @ 17415:3856298f1ff8
eliminate unimplemented vax and cray floating point formats
* mach-info.h
* test/io.tst: Delete vaxd, vaxg, and cray from list of architectures
in fopen test.
# HG changeset patch
# User John W. Eaton <jwe@octave.org>
# Date 1379028062 14400
# Thu Sep 12 19:21:02 2013 -0400
# Node ID ea2763020ac1aa15ad0d43d787b61ff3b8469209
# Parent e89e86e1a5518c11058930fec5e907e60e31251b
eliminate unimplemented vax and cray floating point formats
* mach-info.h (oct_mach_info::float_format): Delete flt_fmt_vaxd,
flt_fmt_vaxg, and flt_fmt_cray enum values.
* ls-mat4.cc (float_format_to_mopt_digit, mopt_digit_to_float_format):
Delete cases for vaxd, vaxg, and cray floating point formats.
* lo-ieee.cc (octave_ieee_init): Likewise.
* mach-info.cc (get_float_format,
oct_mach_info::string_to_float_format,
oct_mach_info::float_format_as_string): Likewise.
* oct-stream.cc: Delete explicit template instantiation for do_write.
(octave_stream::write, do_read): Delete checks for vaxd and vaxg
floating point formats.
* pr-output.cc (pr_any_float): Don't check for cray or unknonwn float
formats.
* data-conv.cc (VAX_D_double_to_IEEE_little_double,
VAX_G_double_to_IEEE_little_double, Cray_to_IEEE_little_double,
IEEE_big_float_to_IEEE_little_float, VAX_D_float_to_IEEE_little_float,
VAX_G_float_to_IEEE_little_float, Cray_to_IEEE_little_float,
IEEE_little_double_to_IEEE_big_double,
VAX_D_double_to_IEEE_big_double, VAX_G_double_to_IEEE_big_double,
Cray_to_IEEE_big_double, IEEE_little_float_to_IEEE_big_float,
VAX_D_float_to_IEEE_big_float, VAX_G_float_to_IEEE_big_float,
Cray_to_IEEE_big_float, IEEE_little_double_to_VAX_D_double,
IEEE_big_double_to_VAX_D_double, VAX_G_double_to_VAX_D_double,
Cray_to_VAX_D_double, IEEE_little_float_to_VAX_D_float,
IEEE_big_float_to_VAX_D_float, VAX_G_float_to_VAX_D_float,
Cray_to_VAX_D_float, IEEE_little_double_to_VAX_G_double,
IEEE_big_double_to_VAX_G_double, VAX_D_double_to_VAX_G_double,
Cray_to_VAX_G_double, IEEE_little_float_to_VAX_G_float,
IEEE_big_float_to_VAX_G_float, VAX_D_float_to_VAX_G_float,
Cray_to_VAX_G_float): Delete.
(do_double_format_conversion): Eliminate unimplemented vaxd, vaxg, and
cray conversions.
* file-io.cc (Ffopen, Ffread): Fix doc strings.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 12 Sep 2013 19:21:02 -0400 |
parents | bc924baa2c4e |
children | 6690dba6078a |
comparison
equal
deleted
inserted
replaced
17413:e89e86e1a551 | 17415:3856298f1ff8 |
---|---|
668 @item ieee-be\n\ | 668 @item ieee-be\n\ |
669 IEEE big endian format.\n\ | 669 IEEE big endian format.\n\ |
670 \n\ | 670 \n\ |
671 @item ieee-le\n\ | 671 @item ieee-le\n\ |
672 IEEE little endian format.\n\ | 672 IEEE little endian format.\n\ |
673 \n\ | |
674 @item vaxd\n\ | |
675 VAX D floating format.\n\ | |
676 \n\ | |
677 @item vaxg\n\ | |
678 VAX G floating format.\n\ | |
679 \n\ | |
680 @item cray\n\ | |
681 Cray floating format.\n\ | |
682 @end table\n\ | 673 @end table\n\ |
683 \n\ | 674 \n\ |
684 @noindent\n\ | 675 @noindent\n\ |
685 however, conversions are currently only supported for @samp{native}\n\ | 676 however, conversions are currently only supported for @samp{native}\n\ |
686 @samp{ieee-be}, and @samp{ieee-le} formats.\n\ | 677 @samp{ieee-be}, and @samp{ieee-le} formats.\n\ |
1561 @item \"ieee-be\"\n\ | 1552 @item \"ieee-be\"\n\ |
1562 IEEE big endian.\n\ | 1553 IEEE big endian.\n\ |
1563 \n\ | 1554 \n\ |
1564 @item \"ieee-le\"\n\ | 1555 @item \"ieee-le\"\n\ |
1565 IEEE little endian.\n\ | 1556 IEEE little endian.\n\ |
1566 \n\ | |
1567 @item @qcode{\"vaxd\"}\n\ | |
1568 VAX D floating format.\n\ | |
1569 \n\ | |
1570 @item @qcode{\"vaxg\"}\n\ | |
1571 VAX G floating format.\n\ | |
1572 \n\ | |
1573 @item @qcode{\"cray\"}\n\ | |
1574 Cray floating format.\n\ | |
1575 @end table\n\ | 1557 @end table\n\ |
1576 \n\ | 1558 \n\ |
1577 @noindent\n\ | 1559 @noindent\n\ |
1578 Conversions are currently only supported for @qcode{\"ieee-be\"} and\n\ | 1560 Conversions are currently only supported for @qcode{\"ieee-be\"} and\n\ |
1579 @qcode{\"ieee-le\"} formats.\n\ | 1561 @qcode{\"ieee-le\"} formats.\n\ |