2 import flash.display.MovieClip
3 public class Main extends flash.display.MovieClip {
5 /* test normal floats */
7 if(x is Number) trace("ok 1/8");
8 if(x*4==1.0) trace("ok 2/8");
10 if(y is Number) trace("ok 3/8");
11 if(y*4==-1.0) trace("ok 4/8");
18 if(a==0) trace("ok 5/8");
19 if(b==10.0) trace("ok 6/8");
20 if(c==0.25) trace("ok 7/8");
21 if(d==10.625) trace("ok 8/8");