Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

values(3head) [opensolaris man page]

values.h(3HEAD) 						      Headers							   values.h(3HEAD)

NAME
values.h, values - machine-dependent values SYNOPSIS
#include <values.h> DESCRIPTION
This file contains a set of manifest constants, conditionally defined for particular processor architectures. The model assumed for integers is binary representation (one's or two's complement), where the sign is represented by the value of the high-order bit. BITS(type) The number of bits in a specified type (for example, int). HIBITS The value of a short integer with only the high-order bit set. HIBITL The value of a long integer with only the high-order bit set. HIBITI The value of a regular integer with only the high-order bit set. MAXSHORT The maximum value of a signed short integer. MAXLONG The maximum value of a signed long integer. MAXINT The maximum value of a signed regular integer. MAXFLOAT, LN_MAXFLOAT The maximum value of a single-precision floating-point number, and its natural logarithm. MAXDOUBLE, LN_MAXDOUBLE The maximum value of a double-precision floating-point number, and its natural logarithm. MINFLOAT, LN_MINFLOAT The minimum positive value of a single-precision floating-point number, and its natural logarithm. MINDOUBLE, LN_MINDOUBLE The minimum positive value of a double-precision floating-point number, and its natural logarithm. FSIGNIF The number of significant bits in the mantissa of a single-precision floating-point number. DSIGNIF The number of significant bits in the mantissa of a double-precision floating-point number. SEE ALSO
Intro(3) math.h(3HEAD) SunOS 5.11 2 Mar 1993 values.h(3HEAD)

Check Out this Related Man Page

values.h(3HEAD) 						      Headers							   values.h(3HEAD)

NAME
values.h, values - machine-dependent values SYNOPSIS
#include <values.h> DESCRIPTION
This file contains a set of manifest constants, conditionally defined for particular processor architectures. The model assumed for integers is binary representation (one's or two's complement), where the sign is represented by the value of the high-order bit. BITS(type) The number of bits in a specified type (for example, int). HIBITS The value of a short integer with only the high-order bit set. HIBITL The value of a long integer with only the high-order bit set. HIBITI The value of a regular integer with only the high-order bit set. MAXSHORT The maximum value of a signed short integer. MAXLONG The maximum value of a signed long integer. MAXINT The maximum value of a signed regular integer. MAXFLOAT, LN_MAXFLOAT The maximum value of a single-precision floating-point number, and its natural logarithm. MAXDOUBLE, LN_MAXDOUBLE The maximum value of a double-precision floating-point number, and its natural logarithm. MINFLOAT, LN_MINFLOAT The minimum positive value of a single-precision floating-point number, and its natural logarithm. MINDOUBLE, LN_MINDOUBLE The minimum positive value of a double-precision floating-point number, and its natural logarithm. FSIGNIF The number of significant bits in the mantissa of a single-precision floating-point number. DSIGNIF The number of significant bits in the mantissa of a double-precision floating-point number. SEE ALSO
intro(3) math.h(3HEAD) SunOS 5.10 2 Mar 1993 values.h(3HEAD)
Man Page

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

precision getting?

I need to find out the precision on a solaris machine using the unix terminal. How do I find this out? Specifics needed: How are single precision numbers represented (8 or 16 bit) How are double precision numbers represented (16 or 32 bit) How are they stored. ( some computers store numbers... (1 Reply)
Discussion started by: Townsfolk
1 Replies

2. Linux

Floating Point Exception

Hi, I am compiling "HelloWorld" C progam on 32-bit CentOS and i want to execute it on 64-bit CentOS architecture. For that i copied the a.out file from 32-bit to 64-bit machine, but while executing a.out file on 64bit machine I am getting "Floating point exception error". But we can run... (3 Replies)
Discussion started by: Mandar123
3 Replies

3. Shell Programming and Scripting

switch format between 64 bit double and 64 bit integer

In order to perform some arithmetical operations on 64 bit double I need to transform of the binary representation of a 64 bit double to a 64 bit integer do the operations and then transform back to 64 bit double. I understand bash and bc doesn't allow to do that. I think my only tool left is... (2 Replies)
Discussion started by: Zephyr
2 Replies

4. UNIX for Dummies Questions & Answers

Integers/floating points in Perl

Hi all I am trying to figure out how to specify integers and floating points specifically in a Perl program. Basically the idea is that I want the user to input an integer and then dependent on that value they get a specific output. Now my problem is that I don't know how to write the... (7 Replies)
Discussion started by: Banni
7 Replies

5. UNIX for Dummies Questions & Answers

Check if input is an integer or a floating point?

Hiii I actually intent to check the integer or floating point number input by user i.e. 23, 100, 55.25, 12.50 ..etc. However, when someone input strings or alpha character, my program has to show invalid input.!! Is there any Unix shell script syntax can help me to check ? Thanking you (2 Replies)
Discussion started by: krishnampkkm
2 Replies