Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
b4d21efd
Commit
b4d21efd
authored
Jun 22, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript/tests: Fix a test that fails because of the reduced FPU precision.
parent
8f0a0c23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lang.js
dlls/jscript/tests/lang.js
+3
-1
No files found.
dlls/jscript/tests/lang.js
View file @
b4d21efd
...
...
@@ -263,7 +263,9 @@ ok(tmp === 7, "2*3.5 !== 7");
ok
(
getVT
(
tmp
)
===
"VT_I4"
,
"getVT(2*3.5) !== VT_I4"
);
tmp
=
2.5
*
3.5
;
ok
(
tmp
===
8.75
,
"2.5*3.5 !== 8.75"
);
/* FIXME: the parser loses precision */
/* ok(tmp === 8.75, "2.5*3.5 !== 8.75"); */
ok
(
tmp
>
8.749999
&&
tmp
<
8.750001
,
"2.5*3.5 !== 8.75"
);
ok
(
getVT
(
tmp
)
===
"VT_R8"
,
"getVT(2.5*3.5) !== VT_R8"
);
tmp
=
4
/
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment