Commit 72a7d945 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

jscript: Fix the spelling of a couple of comments.

parent 7f57286d
...@@ -672,13 +672,13 @@ static INT32 double_to_int32(double number) ...@@ -672,13 +672,13 @@ static INT32 double_to_int32(double number)
* after rounding; if the exponent is > 83 then no bits of precision can be * after rounding; if the exponent is > 83 then no bits of precision can be
* left in the low 32-bit range of the result (IEEE-754 doubles have 52 bits * left in the low 32-bit range of the result (IEEE-754 doubles have 52 bits
* of fractional precision). * of fractional precision).
* Note this case handles 0, -0, and all infinte, NaN, & denormal value. */ * Note this case handles 0, -0, and all infinite, NaN & denormal values. */
if(exp < 0 || exp > 83) if(exp < 0 || exp > 83)
return 0; return 0;
/* Select the appropriate 32-bits from the floating point mantissa. If the /* Select the appropriate 32-bits from the floating point mantissa. If the
* exponent is 52 then the bits we need to select are already aligned to the * exponent is 52 then the bits we need to select are already aligned to the
* lowest bits of the 64-bit integer representation of tghe number, no need * lowest bits of the 64-bit integer representation of the number, no need
* to shift. If the exponent is greater than 52 we need to shift the value * to shift. If the exponent is greater than 52 we need to shift the value
* left by (exp - 52), if the value is less than 52 we need to shift right * left by (exp - 52), if the value is less than 52 we need to shift right
* accordingly. */ * accordingly. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment