archives

« Bugzilla Issues Index

#892 — 9.1.5: "*" for multiplication


In 9.1.5 "ToInt32: (Signed 32 Bit Integer)",
step 4 says:
Let posInt be sign(number) * floor(abs(number)).

In 15.13.6.5.1 "[[DefineOwnProperty]] ( p, desc, throw )",
in the definition of the internal operation SetValueInBuffer,
step 2 says:
Let bytes be the array of bytes from nativeBuffer between offset
byteOffset+(index*size) and offset byteOffset+( (index+1)*size)-1 inclusive.

Similarly in 15.13.6.5.2 "[[GetOwnProperty]] ( P)"
in the definition of the internal operation GetValueFromBuffer.


I believe these are the only points in the spec where an asterisk is used to denote mathematical multiplication (as distinct from the in-language '*' operator). Change each to the multiplication symbol.


corrected in rev 12 editor's draft


corrected in rev 12, Nov. 22, 2012 draft


Fixed in 9.1.5 but not 15.13.6.5.{1,2}.


15.13.6.5.{1,2} is now 8.4.6.{9,10} (but that may change again)

fixed in rev 16 editor's draft


fixed in rev16 draft. July 15, 2013