IBM floating format

Login or Register for Dates, Times and to Reply

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting IBM floating format
# 1  
IBM floating format

Dear Experts
As I know by "od" command in unix shell we are able to convert file in xbit intiger or floating format to ascii. Is there any way to translate IBM floating data format to ascii?? I have a file which in some specific location there are numbers written in 4byte IBM floating but I didn't find a way to extract it correctly in ascii decimal number.
Please advise
Very Best Regards
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #511
Difficulty: Medium
Many programming languages do not allow you to begin a variable name with a number as it would make it more difficult for a compiler or interpreter to parse a program's source code.
True or False?

10 More Discussions You Might Find Interesting

1. AIX

IBM Virtual Machine OS on intel x86 and x64? IBM AIX OS on IBM Virtual Machine?

Hi There, I have zero information and zero knowledge for IBM virtual machine except Amazon cloud and VMware ESXi (Only Linux OS available). Anyone could provide me the following answer - Can IBM VM been deploy on X86 and X64 (Intel Chip)? If answer is yes any chance to deploy AIX OS... (13 Replies)
Discussion started by: chenyung
13 Replies

2. HP-UX

Need to setup floating IP

Hi, Below is the Theory that I need to implement. Load balancing websites can be achieved by putting 2 entries in your DNS, for instance: then DNS will do a round Robin between them, but should either host fail then your will... (1 Reply)
Discussion started by: mohtashims
1 Replies

3. UNIX for Advanced & Expert Users

What is floating IP

Hi, I need to understand the concept of floating IP and how can I get it working on my system. I am using Itanium boxes. I am naive so please help me from the very basics. (2 Replies)
Discussion started by: mohtashims
2 Replies

4. Shell Programming and Scripting

IF statement on floating point variable in scientific format

Hi all, I'm struggling :wall: to make a an if statement on two variables in scientific format. e.g. a=1.23e+01 b=3.21e+02 I know that it can be done with bc if the variable are not in scientific format. But what to do in this case??? Thank you, (3 Replies)
Discussion started by: f_o_555
3 Replies

5. Programming

Floating Point

Anyone help me i cant found the error of floating point if needed, i added the code complete #include <stdio.h> #include <string.h> #include <stdlib.h> #include <ctype.h> typedef struct { int hh; int mm; int ss; char nom; int punt; }cancion; typedef struct... (9 Replies)
Discussion started by: Slasho
9 Replies

6. AIX

IBM AIX on IBM Eseries & x series server

Hi, I want to know whether IBM AIX can be installed on the IBM e series and x series server hardware? Thanks & Regards Arun (2 Replies)
Discussion started by: Arun.Kakarla
2 Replies

7. Programming

Floating point error in C

Hi, see the simple code below double i; i=8080.9940; printf(" val :%.30f\n",i); output i m getting is val :8080.993999999999700000000000000 when i m expecting val :8080.9940 what happens?how can i avoid it? thanks... (2 Replies)
Discussion started by: Hara
2 Replies

8. High Performance Computing

IBM Scheduler for High Throughput Computing on IBM Blue Gene P

A lightweight scheduler that supports high-throughput computing (HTC) applications on Blue Gene/P. (NEW: 06/12/2008 in grid) More... (0 Replies)
Discussion started by: Linux Bot
0 Replies

9. Shell Programming and Scripting

floating point addition

hi, :) I have a file like this 10.456 123.567 456.876 234.987 ........ ....... What i want to do is ia have to add all those numbers and put the result in some other file. Any help pls. cheers RRK (8 Replies)
Discussion started by: ravi raj kumar
8 Replies

10. AIX

Analogue of Format Command in AIX for IBM

I need to install AIX 5.3 on an RS/6000 Server. When i boot from an AIX 5.3 CD i get an option to upgrade to 5.3 from 5.2(existing OS). Is there a way by which i can force AIX to perform a new install with creating new partitions. I am looking for the analogue of 'Format' command in AIX that... (2 Replies)
Discussion started by: bestoption
2 Replies
ISGREATER(3)						   BSD Library Functions Manual 					      ISGREATER(3)

isgreater, isgreaterequal, isless, islessequal, islessgreater, isunordered -- compare two floating-point numbers LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <math.h> int isgreater(real-floating x, real-floating y); int isgreaterequal(real-floating x, real-floating y); int isless(real-floating x, real-floating y); int islessequal(real-floating x, real-floating y); int islessgreater(real-floating x, real-floating y); int isunordered(real-floating x, real-floating y); DESCRIPTION
Each of the macros isgreater(), isgreaterequal(), isless(), islessequal(), and islessgreater() takes arguments x and y and returns a non-zero value if and only if its nominal relation on x and y is true. These macros always return zero if either argument is not a number (NaN), but unlike the corresponding C operators, they never raise a floating point exception. The isunordered() macro takes arguments x and y, returning non-zero if either x or y is NaN. For any pair of floating-point values, one of the relationships (less, greater, equal, unordered) holds. SEE ALSO
fpclassify(3), math(3), signbit(3) STANDARDS
The isgreater(), isgreaterequal(), isless(), islessequal(), islessgreater(), and isunordered() macros conform to ISO/IEC 9899:1999 (``ISO C99''). BSD
December 1, 2008 BSD

Featured Tech Videos