Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

fpclassify(3m) [hpux man page]

fpclassify(3M)															    fpclassify(3M)

NAME
fpclassify() - floating-point value classification macro SYNOPSIS
floating-type DESCRIPTION
The macro classifies its argument value as NaN, infinite, normalized, denormalized, or zero. 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, used in conjunction with the macro, replaces the and functions, which are obsolete and are no longer supported. 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 the value of the number classification macro appropriate to the type and value of its argument. The value returned is one of the following macros, which are defined in Every possible argument value falls into one of these categories, so this macro never results in an error. The macro raises no exceptions. ERRORS
No errors are defined. EXAMPLES
Take certain actions if is either a denormalized value or zero: SEE ALSO
isfinite(3M), isinf(3M), isnan(3M), isnormal(3M), signbit(3M), math(5). STANDARDS CONFORMANCE
fpclassify(3M)

Check Out this Related Man Page

isnan(3M)																 isnan(3M)

NAME
isnan() - floating-point test for NaN SYNOPSIS
floating-type DESCRIPTION
The macro determines whether its argument is a NaN. The argument must be of floating type. 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. The macro replaces the and functions, which are obsolete and are no longer supported. 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 NaN value. The macro raises no floating-point exceptions. ERRORS
No errors are defined. EXAMPLES
Take certain actions if is not a NaN: SEE ALSO
fpclassify(3M), isfinite(3M), isinf(3M), isnormal(3M), signbit(3M), math(5). STANDARDS CONFORMANCE
isnan(3M)
Man Page

11 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

macro

Can i define a macro for a function of 10 LOC. (9 Replies)
Discussion started by: bankpro
9 Replies

4. Linux

how to enable #ifdef macro in the command line of make?

Linux, C++, make, macro In source code, we used some #ifdef macros. How can I enable #ifdef macro in the command line of "make" (NOTE: I do NOT want to change source code or makefile to define that macro from time to time). e.g. test.cpp: ... #ifdef TEST1 // code segment for test1 ...... (3 Replies)
Discussion started by: princelinux
3 Replies

5. 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

6. 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

7. Programming

Way to print a code with substituted macro..?

Is there any way to produce a code with all use dmacro to be substituted up to 'ready for compilation' condition? Some macro are build up and it is hard to replace all them up to final code by hand. I need to see the final line after all macro been applied by preprocessor. How that could be... (5 Replies)
Discussion started by: alex_5161
5 Replies

8. UNIX for Dummies Questions & Answers

Wanting to run a macro/script from PuTTY

We currently use TUN as an emulation program to connect to various unix applications. I am looking at moving to PuTTY release 0.60 but am getting stuck as one application runs a macro at startup to run a program. My question is, can you run a macro from PuTTY? Any pointers would be great. (0 Replies)
Discussion started by: virtualpaul
0 Replies

9. Shell Programming and Scripting

Unix macro help

Hi, I just opened one old RH box and found number of "macros" in there, that how they called in how-to doc, let say you type <rx> and this does a lot of stuff. I can't figure out how it work, how I can edit/display these macros? Can anybody point to the right directions? I have some academic... (3 Replies)
Discussion started by: trento17
3 Replies

10. 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

11. 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