Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

_decodebinary64(3m) [hpux man page]

_decodebinary64(3M)													       _decodebinary64(3M)

NAME
_decodebinary64(), _decodebinary128(), _decodebinary32() - decode binary-encoded decimal data SYNOPSIS
DESCRIPTION
There are two standard bit-encodings for decimal floating-point data: binary and decimal. Both encoding provide exactly the same data (analogous to big endian and little endian encodings). The HP-UX decimal floating-point types use the binary encoding. The function decodes x, interpreted as a binary-encoded 64-bit decimal datum, into the encoding for is a version of it takes a argument and returns a result. is a version of it takes a argument and returns a result. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. USAGE
To use any of these functions, compile with the option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
returns x in the encoding for raises no exceptions. ERRORS
No errors are defined. SEE ALSO
_decodedecimal64(3M), _encodebinary64(3M), _encodedecimal64(3M, math(5). STANDARDS CONFORMANCE
These functions are not specified in any standard. HP Integrity Server Only _decodebinary64(3M)

Check Out this Related Man Page

_decodebinary64(3M)													       _decodebinary64(3M)

NAME
_decodebinary64(), _decodebinary128(), _decodebinary32() - decode binary-encoded decimal data SYNOPSIS
DESCRIPTION
There are two standard bit-encodings for decimal floating-point data: binary and decimal. Both encoding provide exactly the same data (analogous to big endian and little endian encodings). The HP-UX decimal floating-point types use the binary encoding. The function decodes x, interpreted as a binary-encoded 64-bit decimal datum, into the encoding for is a version of it takes a argument and returns a result. is a version of it takes a argument and returns a result. These math functions are supported for HP-UX 11i Version 3 September 2008 Update and forward. USAGE
To use any of these functions, compile with the option. Make sure your program defines and then includes Link in the math library by specifying or on the linking command line. For more information, see the at the following site: RETURN VALUE
returns x in the encoding for raises no exceptions. ERRORS
No errors are defined. SEE ALSO
_decodedecimal64(3M), _encodebinary64(3M), _encodedecimal64(3M, math(5). STANDARDS CONFORMANCE
These functions are not specified in any standard. HP Integrity Server Only _decodebinary64(3M)
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Modify bit in binary file

Hi, I'm looking for a simple solution to my problem. I want do modify a single bit into a large binary file. The offset of this bit is known and constant. For example: a.bin ----> Operation ----> b.bin 0x100: XXXXXX0 ----> Operation ----> 0x100: XXXXXX1 Because I'm writing a... (4 Replies)
Discussion started by: jodel
4 Replies

2. Shell Programming and Scripting

How to get the negate of decimal to binary?

Hi All, New to this forum (and yes , a newbie in programming..:p) I have a decimal to binary converter script done this way : i=$1 bit0=$(( (i & 0x01) > 0 )) bit1=$(( (i & 0x02) > 0 )) bit2=$(( (i & 0x04) > 0 )) bit3=$(( (i & 0x08) > 0 )) bit4=$((... (6 Replies)
Discussion started by: digiteltlc
6 Replies

3. UNIX for Beginners Questions & Answers

Bash script problems int to binary

Hi, I am trying to do a bash script that convert a decimal number to a binary value, but it doesn't work... To begin, I am just trying to convert a positive number to 8 bits binary. read -p"Entrez un nombre entre -128 et 127 pour l'encoder en binaire: " number binaryValues=(128 64 32 16 8 4 2... (8 Replies)
Discussion started by: Zedki
8 Replies

4. UNIX for Beginners Questions & Answers

Negative decimal to binary

Is there a fast way to convert a negative decimal value into a signed binary number in bash script ? I've looked a lot on internet but I saw nothing... (For exemple : -1 become 11111111.) (9 Replies)
Discussion started by: Zedki
9 Replies