MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guide de l'utilisateur Page 348

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 354
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 347
static bool IsNaN(double x)
Purpose Test if value is NaN (Not-a-Number) and return true if value is NaN
C++
Syntax
#include "mclcppclass. h"
bool x = mwArray::IsNaN(1. 0); // Returns false
Arguments ValuetotestforNaN
Return
Value
Result of test.
Description Call mwArray ::I sNaN to determine whether or not the value is NaN.
NaN is the IEEE arithmetic representation for Not-a-Number. NaN is
obtained as a result of mathematically undefined operations such as
0.0/0.0
Inf-Inf
The system understands a family ofbitpatternsasrepresentingNaN.In
other words,
NaN is not a single value, rather it is a family of numbers
that MATLAB (and other IEEE-compliant applications) use to represent
an error condition or missing data.
C-94
Vue de la page 347

Commentaires sur ces manuels

Pas de commentaire