![]() ![]() Set this keyword to cause FINITE to return True if the X argument is the IEEE special floating-point value Infinity (either positive or negative), or False otherwise. This function returns 1 (True) for byte, integer, or longword arguments. Strings are first converted to floating-point. ArgumentsĪ floating-point, double-precision, or complex scalar or array expression. The result is a byte expression of the same structure as the argument X. If the argument is infinite or not a defined number ( NaN), the FINITE function returns 0 (False). ![]() Returns 1 (True) if its argument is finite. See Additional Examples for more examples of using FINITE. IDL prints “1” because the argument is finite. To find out if the logarithm of 5.0 is finite, enter: PRINT, FINITE( ALOG( 5.0)) The FINITE function identifies whether or not a given argument is finite. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |