Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

isfinite(3m) [hpux man page]

isfinite(3M)															      isfinite(3M)

NAME
isfinite() - floating-point finiteness macro SYNOPSIS
floating-type DESCRIPTION
The macro determines whether its argument has a finite value (zero, denormalized, or normalized, and not infinite or NaN). The argument must be of floating type, and classification is based on the type of the argument. For HP Integrity servers, the argument can be any floating type. For PA-RISC, the argument must be either or The macro implements the functionality recommended by the IEEE-754 standard for floating-point arithmetic. USAGE
To use the macro, compile either with the default option or with the and options. Make sure your program includes Link in the math library by specifying on the compiler or linker command line. RETURN VALUE
The macro returns a nonzero value if and only if its argument has a finite value. The macro raises no floating-point exceptions. ERRORS
No errors are defined. EXAMPLES
Make sure a value is finite before continuing operations on it: SEE ALSO
fpclassify(3M), isinf(3M), isnan(3M), isnormal(3M), signbit(3M), math(5). STANDARDS CONFORMANCE
isfinite(3M)

Check Out this Related Man Page

isnormal(3M)															      isnormal(3M)

NAME
isnormal() - floating-point test for normalized value SYNOPSIS
floating-type DESCRIPTION
The macro determines whether its argument is a normalized value (neither zero, denormalized, infinite, nor NaN). The argument must be of floating type, and classification is based on the type of the argument. For HP Integrity servers, the argument can be any floating type. For PA-RISC, the argument must be either or USAGE
To use the macro, compile either with the default option or with the and options. Make sure your program includes Link in the math library by specifying on the compiler or linker command line. RETURN VALUE
The macro returns a nonzero value if and only if its argument has a normalized value. The macro raises no floating-point exceptions. ERRORS
No errors are defined. EXAMPLES
Make sure a value is normalized before continuing operations on it: SEE ALSO
fpclassify(3M), isfinite(3M), isinf(3M), isnan(3M), signbit(3M), math(5). STANDARDS CONFORMANCE
isnormal(3M)
Man Page

9 More Discussions You Might Find Interesting

1. Programming

How to Use macro _POSIX_SOURCE with pthread

I use Digital Unix 4.0F (OSF/1) .I write a simple programe : #define _POSIX_SOURCE #include <pthread.h> void main(void) { } But , the compiler report many errors . I do not know why the compiler compain that . Thank you in advance (1 Reply)
Discussion started by: chenhao_no1
1 Replies

2. HP-UX

USRSTACK macro

I'm upleveling code from 10.20 to 11.11....but I'm running into a problem in which the USRSTACK macro does not seem to be defined in 11.11. Has anybody else experienced this/fixed it/worked around it? Is there a different macro I should be using instead? Thanks for any info you can provide!! (1 Reply)
Discussion started by: jalburger
1 Replies

3. Programming

Make-question - redefine a macro, using another macro..?

I think there is no problem to use any macro in a new macro definishion, but I have a problem with that. I can not understand why? I have a *.mak file that inludes file with many definitions and rules. ############################################## include dstndflt.mak ... One of the... (2 Replies)
Discussion started by: alex_5161
2 Replies

4. UNIX for Dummies Questions & Answers

floating point error in linux + C

Here's a program and its pretty simple .It requires file handling and some calculations but on running it I am not getting the required result.It seems that the code outside the file read's outer while loop is not executing e.g the print statement is not being printed.Plz Help! #include<stdio.h>... (1 Reply)
Discussion started by: headrush
1 Replies

5. Programming

help with macro tween and syntax error

im working on a program that has to correctly add the macro TWEEN to the system (it determines if a string falls beween two other strings in a basic sort) im having problems doing this. here is what i got. int main(){ char name; scanf("%s",&name); if (TWEEN("ABC", name, "XYZ")) printf("%s... (4 Replies)
Discussion started by: rickym2626
4 Replies

6. UNIX for Dummies Questions & Answers

create a macro in vi file

In vi, how do I create a macro? For example, I want to create a macro to join lines and insert ^ Please assist. Thanks! (1 Reply)
Discussion started by: onlinelearner02
1 Replies

7. UNIX for Dummies Questions & Answers

macro

Can I create a macro in UNIX? If so where do I find out how? (1 Reply)
Discussion started by: JD_Sal
1 Replies

8. UNIX for Dummies Questions & Answers

Make cmake_check_build_system error 1

......... (1 Reply)
Discussion started by: larry burns
1 Replies

9. Homework & Coursework Questions

Make a file accept only two arguments from the command line

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: 1) The script is executed in the Korn shell. 2) Name the shell script file is asg6s. 3) The asg6s file is... (7 Replies)
Discussion started by: ProgMan2015
7 Replies