d at domenic.me (2015-02-18T17:10:28.787Z)
On Fri, Feb 13, 2015 at 5:13 PM, Filip Pizlo <fpizlo at apple.com> wrote: > I think it's sensible to say that TypedArray.prototype.set doesn't require > NaN canonicalization - or rather, that it forbids it and instead requires a > bit-for-bit transfer. Why do you need to forbid NaN canonicalization rather than simply not requiring it? Why do you need to require a bit-for-bit transfer instead of simply allowing it?
On Fri, Feb 13, 2015 at 5:13 PM, Filip Pizlo <fpizlo at apple.com> wrote: > Hi Allen, > > (Meta: I'm assuming you'd prefer an on-list discussion rather than more > comments in the bug?) > > I think it's sensible to say that TypedArray.prototype.set doesn't require > NaN canonicalization - or rather, that it forbids it and instead requires a > bit-for-bit transfer. > Why do you need to forbid NaN canonicalization rather than simply not requiring it? Why do you need to require a bit-for-bit transfer instead of simply allowing it? > > I'm not sure I understand this: > > I'm also inclined to put a statement somewhere in the TypedArray section > that says that a bit level transfer must occur anytime an algorithm > retrieves a value from a typed array using [[Get]] and immediately stores > it back into a typed array, of the same type, using [[Set]]. It seem this > would have to be stated as a mandatory requirement, in order to avoid > interop hazards. > > > By "algorithm" are you referring to algorithms inside the spec, or more > broadly any algorithm written in ES? If this is for algorithms in the > spec, then I'm tempted to agree with this. > > -Filip > > > On Feb 13, 2015, at 4:20 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> > wrote: > > It'd be interested if anybody has any thoughts on my proposed solution for > https://bugs.ecmascript.org/show_bug.cgi?id=3694 > > Allen > _______________________________________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > > > _______________________________________________ > es-discuss mailing list > es-discuss at mozilla.org > https://mail.mozilla.org/listinfo/es-discuss > > -- Cheers, --MarkM -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150213/aa7bc5c8/attachment-0001.html>