The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
More On Event Representation iBot Complex Event Processing RSS News 0 12-12-2008 06:20 PM
On faithfull representation and other comments iBot Complex Event Processing RSS News 0 08-11-2008 07:30 PM
BNS Scaling: An Improved Representation over TF.IDF for SVM Text Classification iBot UNIX and Linux RSS News 0 08-07-2008 05:30 PM
visual representation of server health mcraul UNIX for Dummies Questions & Answers 4 07-22-2008 02:58 PM
Disk Representation - what is this c1t1d0s2 represent? tlee SUN Solaris 2 07-07-2008 02:48 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 07-01-2009
Zephyr Zephyr is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 4
Using binary representation of IEEE 754

Hi!

What is the way to get the binary representation of a IEEE 754 (like 0001110110001111010101100111001011100100101010111101) without using perl. Bash for example, would be fine.

I need to put that representation in a string for some operation and then to put that string back in a float.

I understand that for that last part I just need add zero to the string and it would become a float again.
  #2 (permalink)  
Old 07-01-2009
vgersh99's Avatar
vgersh99 vgersh99 is online now Forum Staff  
Moderator
  
 

Join Date: Feb 2005
Location: Boston, MA
Posts: 5,131
Are you coming from this thread?
  #3 (permalink)  
Old 07-01-2009
fpmurphy's Avatar
fpmurphy fpmurphy is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2003
Location: Florida
Posts: 1,935
I assume you are referring to IEEE-754:2008 rather than the now superceded 1985 standard. The standard defines a number of formats. Which particular format do you want? Arithmetic or interchange? binary64, binary128, or what?
  #4 (permalink)  
Old 07-01-2009
Zephyr Zephyr is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 4
That thread inspired me when I stumble on it. I am thinking binary64.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:28 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0