MCPcopy Create free account
hub / github.com/Snapchat/Valdi / __JS_NewFloat64

Function __JS_NewFloat64

third-party/quickjs/include/quickjs/quickjs.h:120–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118#define JS_NAN JS_MKVAL(JS_TAG_FLOAT64, 1)
119
120static inline JSValue __JS_NewFloat64(JSContext* ctx, double d) {
121 return JS_MKVAL(JS_TAG_FLOAT64, (int)d);
122}
123
124static inline JS_BOOL JS_VALUE_IS_NAN(JSValue v) {
125 return 0;

Callers 7

tsn_op_multFunction · 0.85
tsn_op_addFunction · 0.85
tsn_op_subFunction · 0.85
tsn_op_negFunction · 0.85
JS_NewInt64Function · 0.85
JS_NewUint32Function · 0.85
JS_NewFloat64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected