1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscIsNormalReal.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<TITLE>PetscIsNormalReal</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>petsc-3.14.5 2021-03-03</b></div>
<div id="bugreport" align=right><a href="mailto:petsc-maint@mcs.anl.gov?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: petsc-3.14.5 v3.14.5 docs/manualpages/Sys/PetscIsNormalReal.html "><small>Report Typos and Errors</small></a></div>
<A NAME="PetscIsNormalReal"><H1>PetscIsNormalReal</H1></A>
Returns <A HREF="../Sys/PETSC_TRUE.html#PETSC_TRUE">PETSC_TRUE</A> if the input value satisfies isnormal()
<H3><FONT COLOR="#CC3333">Synopsis</FONT></H3>
<PRE>
#if defined(PETSC_USE_REAL___FLOAT128) || defined(PETSC_USE_REAL___FP16)
<A HREF="../Sys/PetscBool.html#PetscBool">PetscBool</A> <A HREF="../Sys/PetscIsNormalReal.html#PetscIsNormalReal">PetscIsNormalReal</A>(<A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> a)
</PRE>
<H3><FONT COLOR="#CC3333">Input Parameter</FONT></H3>
<TABLE border="0" cellpadding="0" cellspacing="0">
<TR><TD WIDTH=40></TD><TD ALIGN=LEFT VALIGN=TOP><B>a </B></TD><TD>- the <A HREF="../Sys/PetscReal.html#PetscReal">PetscReal</A> Value
</TD></TR></TABLE>
<P>
<H3><FONT COLOR="#CC3333">Notes</FONT></H3>
uses the C99 standard isnormal() on systems where they exist.
Uses isnormalq() with __float128
Otherwises always returns true
<P>
<P><B></B><H3><FONT COLOR="#CC3333">Level</FONT></H3>beginner<BR>
<H3><FONT COLOR="#CC3333">Location</FONT></H3>
</B><A HREF="../../../src/sys/utils/mathinf.c.html#PetscIsNormalReal">src/sys/utils/mathinf.c</A>
<BR><A HREF="./index.html">Index of all Sys routines</A>
<BR><A HREF="../../index.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|