You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
522 B

define: DUK_USE_PACKED_TVAL
feature_enables: DUK_OPT_PACKED_TVAL
feature_no_default: true # provided by architecture unless forced
introduced: 1.0.0
default: false
tags:
- portability
description: >
Use a packed 8-byte representation for duk_tval. The packed representation
represents non-number values as special IEEE double NaN values, and is only
possible for platforms with 32-bit pointers. When the packed representation
is not available, Duktape uses a 12-16 byte struct/union which is more
portable.