AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry:     JS_GetPositiveInfinityValue (Function)
Summary:     Retrieves the numeric representation of infinity.
Syntax:
jsval JS_GetPositiveInfinityValue(JSContext *cx);

Description:
JS_GetPositiveInfinityValue retrieves the numeric representation of infinity. JS_GetPositiveInfinityValue returns a JS value.

The infinity representation is typically used in JavaScript to represent numbers that are larger than the maximum valid integer or double value. 

As a value in mathematical calculations infinite values behaves like infinity. For example, anything multiplied by infinity is infinity, and anything divided by infinity is zero.


See also:
JS_GetEmptyStringValue
JS_GetNaNValue
JS_GetNegativeInfinityValue

[sh-index] Back to list of manuals