[PATCH 2/3]vbscript: Implemented builtin function CInt

larmbr zhan nasa4836 at gmail.com
Wed Apr 17 11:17:00 CDT 2013

This patch implement the builtin function CInt,  and add some test cases.

>From the test result on Windows, the rounding algorithm used inside
CInt is Banker's
Rounding , so add a helper function to_int_banker_rounding.

 dlls/vbscript/global.c      |   43 +++++++++++++++++++++++++++++++++++++++++--
 dlls/vbscript/tests/api.vbs |   18 ++++++++++++++++++
 2 files changed, 59 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-vbscript-Implemented-a-builtin-function-CInt-a-helpe.patch
Type: application/octet-stream
Size: 3354 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20130418/5b43e85e/attachment.obj>

More information about the wine-patches mailing list