search for: 3d2ccc1

Displaying 1 result from an estimated 1 matches for "3d2ccc1".

Did you mean: 3c2cc61
2007 Jul 06
0
Branch 'as' - 2 commits - libswfdec/swfdec_as_math.c test/trace
...ce/round-direction-8.swf.trace new file mode 100644 index 0000000..39ef339 --- /dev/null +++ b/test/trace/round-direction-8.swf.trace @@ -0,0 +1,5 @@ +Check rounding direction +0 +-1 +1 +2 diff --git a/test/trace/round-direction.as b/test/trace/round-direction.as new file mode 100644 index 0000000..3d2ccc1 --- /dev/null +++ b/test/trace/round-direction.as @@ -0,0 +1,10 @@ +// makeswf -v 7 -s 200x150 -r 1 -o round-direction.swf round-direction.as + +trace ("Check rounding direction"); + +trace (Math.round (-0.5)); +trace (Math.round (-1.5)); +trace (Math.round (0.5)); +trace (Math.round (1.5...