HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Float representation HP-UX&Mac, Matlab
Operating System - HP-UX
1832870
Members
3540
Online
110048
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2000 09:41 PM
10-11-2000 09:41 PM
I have data files in a floating format
originating from a Mac computer. The files contains binary data. Reading the data files
on a Mac using Matlab presents the correct
data values.
Reading the data file on HP-UX using matlab
returns errenous data values.
How is the representation of floating values
done on the PA-RISC and the Mac G3? Are
their any easy ways to convert data files
between different formats (scripts or commands maybe)?
Thanks/ Lars Bylander
originating from a Mac computer. The files contains binary data. Reading the data files
on a Mac using Matlab presents the correct
data values.
Reading the data file on HP-UX using matlab
returns errenous data values.
How is the representation of floating values
done on the PA-RISC and the Mac G3? Are
their any easy ways to convert data files
between different formats (scripts or commands maybe)?
Thanks/ Lars Bylander
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2000 04:34 AM
10-12-2000 04:34 AM
Solution
Hi,
i don't know the floating format of the MAC but perhaps it is the same as INTEL that swaps the lower and higher byte.
You could try the dd command to swap the bytes back:
dd if= of= conv=swab
For more info on dd use: man dd
Perhaps this helps
Regards
i don't know the floating format of the MAC but perhaps it is the same as INTEL that swaps the lower and higher byte.
You could try the dd command to swap the bytes back:
dd if=
For more info on dd use: man dd
Perhaps this helps
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2000 04:38 AM
10-12-2000 04:38 AM
Re: Float representation HP-UX&Mac, Matlab
Lars,
I am no floating point expert, but maybe this link will help you.
HP-UX Floating-Point Guide
http://docs.hp.com/dynaweb/hpux11/dtdcen1a/b534/@Generic__BookView
I am no floating point expert, but maybe this link will help you.
HP-UX Floating-Point Guide
http://docs.hp.com/dynaweb/hpux11/dtdcen1a/b534/@Generic__BookView
"Downtime is a Crime."
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP