5 ##########################################################################################################
6 # Projection algorithm produces wrong results
7 ##########################################################################################################
10 set fract_check 1415927
12 restore [locate_data_file bug23464_c57.draw] c57
13 restore [locate_data_file bug23464_s46.draw] s46
15 project result c57 s46
16 set info [length result]
17 regexp {is +([-0-9.+eE]+)} $info full num
19 set int_part [expr round($num)]
20 set y [expr $num - round($num)]
21 set z [expr $y*10000000]
22 set fract_part [expr round($z)]
24 if { ${int_check} != ${int_part} } {
25 puts "Error : Integer part of result is incorrect"
28 if { ${fract_check} != ${fract_part} } {
29 puts "Error : Fractional part of result is incorrect"