Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8971587
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T17:59:31+00:00 2026-06-15T17:59:31+00:00

Need to pass some data back and forth bewteen matlab and some DLL functions,

  • 0

Need to pass some data back and forth bewteen matlab and some DLL functions, one thing stand out there is that we dont know the exact numeric value of NaN in matlab, so there will be some unnecessary data processing to take these values into account.

Do anyone know the exact values or at least the ranges of values for NaN in matlab?

I am most interested in knowing the following two primative types:

(1) NaN for float (32);

(2) NaN for double (64).

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T17:59:32+00:00Added an answer on June 15, 2026 at 5:59 pm

    According to Mathwork’s documentation, NaN returns the IEEE arithmetic representation for Not-a-Number. NaN is always in floating point representation (float or double) – I don’t believe there is an integer NaN.

    In IEEE 754, NaN’s are represented as floating point numbers with all the exponent bits set to 1 and the fractional part any non-zero value (so there are actually many ways of representing a general NaN). See “Special Values” here.

    The most reliable way to test for NaN by hand is not to look for a specific value but to test that all the exponent bits are set and the fractional part is non-zero.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing a web application where I need to pass some user data to
I am writing some and I need to pass a complicated data structure to
I have some .net dll's and Exe's. I need to pass MSIL files to
My application needs to pass data back and forth via text files with Excel.
I need to make a mysql connection and get some data back. I can
I need to find a way to pass some strings to my word 2003
I have some function where I need to pass a point datatype . somefunc(United
I've some scenarios where i need to pass value type as reference without changed
I need to pass '+' via the QueryString . some special character can be
I am writing some kind of IPC functionality and need to pass certain resources

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.