MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de usuario Pagina 348

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 354
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 347

Comentarios a estos manuales

Sin comentarios