The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Results that are not defined as numbers NaN => undef
11-02-2018, 04:22 AM (This post was last modified: 11-03-2018 12:27 PM by compsystems.)
Post: #1
Results that are not defined as numbers NaN => undef
Hello, users and developer group of the famous hp-prime calculator
Sorry for my technical english.

0/0 returns undef // ok
∞/∞ returns undef // ok

In the two previous cases the answer is undef synonymous of Not a Number acronym NaN
With undef you can perform arithmetic operations, in the sense that any number added to undef gives another undef, that is undef+1 returns undef

If F1(X):=1/X is defined
then press [num/setup] key synonymous table of numerical values, and zoom integer we see that for X equal to 0, shows NaN, then copy (Shift + view), then paste (Shift + menu), placed in the main view (history) NaN, but I can not operate artimetically, therefore it is required to made the acronym NaN be synonymous with undef

In matlab NaN+1 returns NaN

Thanks
JaiMeza
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Results that are not defined as numbers NaN => undef - compsystems - 11-02-2018 04:22 AM



User(s) browsing this thread: 1 Guest(s)