GNU bug report logs - #68872
Can't use od to print half-precision floats

Previous Next

Package: coreutils;

Reported by: "Rozenberg, Eyal (Consultant)" <Eyal.Rozenberg <at> gehealthcare.com>

Date: Thu, 1 Feb 2024 14:28:03 UTC

Severity: normal

To reply to this bug, email your comments to 68872 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#68872; Package coreutils. (Thu, 01 Feb 2024 14:28:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Rozenberg, Eyal (Consultant)" <Eyal.Rozenberg <at> gehealthcare.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 01 Feb 2024 14:28:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Rozenberg, Eyal (Consultant)" <Eyal.Rozenberg <at> gehealthcare.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: RE: Can't use od to print half-precision floats
Date: Thu, 1 Feb 2024 12:58:16 +0000
[Message part 1 (text/plain, inline)]
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 <at> 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.
[Message part 2 (text/html, inline)]

This bug report was last modified 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.