Skip to content
Snippets Groups Projects
  • jugglinmike's avatar
    b17ffc02
    Add tests for NaN handling with Typed Arrays (#623) · b17ffc02
    jugglinmike authored
    Ensure that NaN values are canonicalized consistently by all invocations
    of SetValueInBuffer. Also ensure that `%TypedArray%.prototype.set` and
    `%TypedArray%.prototype.slice` preserve the bit-level encoding of the
    source data.
    
    Use a set of experimentally-derived expressions known to produce NaN
    values with distinct bit patterns in various platforms.
    b17ffc02
    History
    Add tests for NaN handling with Typed Arrays (#623)
    jugglinmike authored
    Ensure that NaN values are canonicalized consistently by all invocations
    of SetValueInBuffer. Also ensure that `%TypedArray%.prototype.set` and
    `%TypedArray%.prototype.slice` preserve the bit-level encoding of the
    source data.
    
    Use a set of experimentally-derived expressions known to produce NaN
    values with distinct bit patterns in various platforms.