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_GetNegativeInfinityValue (Function)
Summary:     Retrieves the negative infinity representation.
Syntax:
jsval JS_GetNegativeInfinityValue(JSContext *cx);

Description:
JS_GetNegativeInfinityValue retrieves a numeric representation of negative-infinity, given a specific JS context, cxJS_GetNegativeInfinityValue returns a JS value.

Negative infinity is typically used in JavaScript to represent numbers that are smaller than the minimum valid integer or double value. 

As a value in mathematical calculations, negative infinity 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_GetPositiveInfinityValue

[sh-index] Back to list of manuals