lib/types/UnrestrictedDouble.js
/**
     * The result of converting an IDL unrestricted double value to an ECMAScript value is a Number:
     * If the IDL unrestricted double value is a NaN, then the Number value is NaN.
     * Otherwise, the Number value is the one that represents the same numeric value as
     * the IDL unrestricted double value.
     * @param {any} V - the value to convert.
     */
The result of converting an IDL unrestricted double value to an ECMAScript value is a Number:
If the IDL unrestricted double value is a NaN, then the Number value is NaN.
Otherwise, the Number value is the one that represents the same numeric value as
the IDL unrestricted double value.
@param {any} V - the value to convert.
The result of converting an IDL unrestricted double value to an ECMAScript value is a Number : If the IDL unrestricted double value is a NaN then the Number value is NaN . Otherwise the Number value is the one that represents the same numeric value as the IDL unrestricted double value . @param { any } V - the value to convert .
function converter(V) {
        var x = Number(V);
        if (isNaN(x)) {
            return 0x7ff8000000000000;
        }
        return x;
    }
function converter ( V ) { var x = Number ( V ) ; if ( isNaN ( x ) ) { return 0x7ff8000000000000 ; } return x ; }
The result of converting an IDL unrestricted double value to an ECMAScript value is a Number:
 If the IDL unrestricted double value is a NaN, then the Number value is NaN.
The result of converting an IDL unrestricted double value to an ECMAScript value is a Number : If the IDL unrestricted double value is a NaN then the Number value is NaN .
//Let x be ToNumber(V). //If x is NaN, then return the IDL unrestricted double value that //represents the IEEE 754 NaN value with the bit pattern //0x7ff8000000000000 [IEEE-754].