bug-coreutils@gnu.org mirror (unofficial)
 help / color / mirror / Atom feed
From: "Rozenberg, Eyal (Consultant)" <Eyal.Rozenberg@gehealthcare.com>
To: 68872@debbugs.gnu.org
Subject: bug#68872: Can't use od to print half-precision floats
Date: Thu, 1 Feb 2024 12:58:16 +0000	[thread overview]
Message-ID: <LV8PR22MB5026CCEE0122A93DF6859178FF432@LV8PR22MB5026.namprd22.prod.outlook.com> (raw)
In-Reply-To: <LV8PR22MB5026BF093DF3FE8E299B6CB3FF432@LV8PR22MB5026.namprd22.prod.outlook.com>

I neglected to mention I'm using a version pulled from git yesterday, i.e.

$ od --version
od (GNU coreutils) 9.4.114-6ec1f

on a SLES 15 SP1 GNU/Linux system, x86_64 hardware, kernel version 4.12.14 .


From: Rozenberg, Eyal (Consultant)
Sent: Thursday, 1 February 2024 14:44
To: bug-coreutils@gnu.org
Subject: Can't use od to print half-precision floats

If I try to use the od utility to print half-precision (FP16) floating-point values, I get:

$ od -t f2 myfloats.bin
od: invalid type string 'f2';
this system doesn't provide a 2-byte floating point type

I'm not exactly sure what "this system" means, but that should work and print out my floats.

Eyal

PS - This is my first bug-coreutils post, please be gentle.

  reply	other threads:[~2024-02-01 14:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-01 12:43 bug#68871: Can't use od to print half-precision floats Rozenberg, Eyal (Consultant)
2024-02-01 12:58 ` Rozenberg, Eyal (Consultant) [this message]
2024-02-01 18:05 ` Pádraig Brady
2024-02-01 19:08   ` Paul Eggert
2024-02-01 19:16     ` Paul Eggert
2024-02-01 21:59       ` Pádraig Brady
2024-02-02  1:47         ` Paul Eggert
2024-02-02 14:35           ` Rozenberg, Eyal (Consultant)
2024-02-04 15:00           ` Pádraig Brady
2024-02-04 21:59             ` Paul Eggert
2024-02-05 13:37               ` Pádraig Brady

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.gnu.org/mailman/listinfo/bug-coreutils

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=LV8PR22MB5026CCEE0122A93DF6859178FF432@LV8PR22MB5026.namprd22.prod.outlook.com \
    --to=eyal.rozenberg@gehealthcare.com \
    --cc=68872@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).