Tag
Hash :
357c960e
Author :
Date :
2001-05-03T10:49:20
- xpath.c result/XPath/expr/floats : clarified and cleanup printing of abnormal floats in tests. Daniel
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
========================
Expression: 1
Object is a number : 1
========================
Expression: 123
Object is a number : 123
========================
Expression: 1.23
Object is a number : 1.23
========================
Expression: 0.123
Object is a number : 0.123
========================
Expression: 1.23e3
Object is a number : 1230
========================
Expression: 1.23e-3
Object is a number : 0.00123
========================
Expression: 1 div 0
Object is a number : +Infinity
========================
Expression: -1 div 0
Object is a number : -Infinity
========================
Expression: 0 div 0
Object is a number : NaN
========================
Expression: (1 div 0) > 0
Object is a Boolean : true
========================
Expression: (1 div 0) < 0
Object is a Boolean : false
========================
Expression: (-1 div 0) > 0
Object is a Boolean : false
========================
Expression: (-1 div 0) < 0
Object is a Boolean : true
========================
Expression: (0 div 0) > 0
Object is a Boolean : false
========================
Expression: (0 div 0) < 0
Object is a Boolean : false