No subject
Tue Feb 21 06:13:13 PST 2012
values of the range from double to integer. So I just check a simple
value rounding.
The `cd basegfx && make check` (as Stephan pointed) works fine. And if
I change the integer value from (1,2,4,5) to (1,2,4,4), the test
failed.
If it's ok, I could push it to master.
But if I've done something wrong, please feel free to correct me. :)
Best Regards,
--
Korrawit Pruegsanusak
--0016e6dd97dc7efd3a04b97a2c90
Content-Type: application/octet-stream; name="add-fround-to-unit-test.patch"
Content-Disposition: attachment; filename="add-fround-to-unit-test.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_gyx0n9790
ZGlmZiAtLWdpdCBhL2Jhc2VnZngvdGVzdC9iYXNlZ2Z4MmQuY3h4IGIvYmFzZWdmeC90ZXN0L2Jh
c2VnZngyZC5jeHgKaW5kZXggZDZlMjZhOC4uMzI1ZDBiZCAxMDA2NDQKLS0tIGEvYmFzZWdmeC90
ZXN0L2Jhc2VnZngyZC5jeHgKKysrIGIvYmFzZWdmeC90ZXN0L2Jhc2VnZngyZC5jeHgKQEAgLTQ5
LDYgKzQ5LDcgQEAKICNpbmNsdWRlIDxiYXNlZ2Z4L3JhbmdlL2IxZHJhbmdlLmh4eD4KICNpbmNs
dWRlIDxiYXNlZ2Z4L3JhbmdlL2IxaXJhbmdlLmh4eD4KICNpbmNsdWRlIDxiYXNlZ2Z4L3Jhbmdl
L2IxaWJveC5oeHg+CisjaW5jbHVkZSA8YmFzZWdmeC9yYW5nZS9iMmRyYW5nZS5oeHg+CiAjaW5j
bHVkZSA8YmFzZWdmeC9yYW5nZS9iMmRwb2x5cmFuZ2UuaHh4PgogI2luY2x1ZGUgPGJhc2VnZngv
bnVtZXJpYy9mdG9vbHMuaHh4PgogI2luY2x1ZGUgPGJhc2VnZngvY29sb3IvYmNvbG9yLmh4eD4K
QEAgLTI4Niw2ICsyODcsMzMgQEAgcHVibGljOgogICAgIFNBTF9DUFBVTklUX1RFU1RfU1VJVEVf
RU5EKCk7CiB9OyAvLyBjbGFzcyBiMmRzdmdkaW1wZXg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