finite: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "{{Command " to "{{RV|type=command ") |
Lou Montana (talk | contribs) m (Text replacement - "<dd class="notedate">Posted on ([^<>]+) " to "<dd class="notedate">Posted on $1</dd> ") |
||
Line 26: | Line 26: | ||
<!-- Note Section BEGIN --> | <!-- Note Section BEGIN --> | ||
<dd class="notedate">Posted on 27 Sep, 2013 | <dd class="notedate">Posted on 27 Sep, 2013</dd> | ||
<dt class="note">[[User:Killzone_Kid|Killzone_Kid]] | <dt class="note">[[User:Killzone_Kid|Killzone_Kid]] | ||
<dd class="note"> | <dd class="note"> |
Revision as of 01:05, 30 January 2021
Description
- Description:
- Description needed
- Groups:
- Math
Syntax
- Syntax:
- Syntax needed
- Parameters:
- number: Number
- Return Value:
- Return value needed
Examples
- Example 1:
finite 123; // returns true
- Example 2:
finite log -1; // returns false
- Example 3:
if (not finite log -1) then { hint "Infinite" };
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on 27 Sep, 2013
- Killzone_Kid
-
Don't get high hopes with this command thinking what a great way of catching divisions by zero, the command is pretty useless in this respect:
// Arma 2 hint str finite (10/0); // true ... O_o Huh???? hint str (10/0); // 0 ... Weird, but that explains it. // Arma 3 hint str finite (10/0); // true + Error Zero Divisor hint str finite 10; // true hint str finite 1000000000000000000000000000000000000000; // false