Searched refs:abs (Results 1 - 8 of 8) sorted by relevance

/ast/src/cmd/std/
H A Dseq.sh107 if (( abs(floor(n) - n) <= 1e-12 ))
120 do printf "%s$fmt" "$s" $(( abs(n) > epsilon ? n : 0 ))
/ast/src/cmd/ksh93/tests/
H A Drecttype.sh45 print -r $(( abs((_.ur.x-_.ll.x)*(_.ur.y-_.ll.y)) ))
H A Dpointtype.sh53 print -r $((abs(_.x)+abs(_.y) ))
H A Darith.sh573 (( abs(sin(.5)-mysin(.5)) < 1e-6 )) || err_exit 'mysin() not close to sin()'
581 (( abs(sin(.5)-mysin(.5)) < 1e-6 ))
615 (( abs(x-y) < 1e-10 )) || err_exit '$nz and nz differs in arithmetic expression when nz is reference to array instance'
622 (( abs(x-.5) < 1.e-10 )) || err_exit 'bug in composite function evaluation'
H A Dcubetype.sh132 (( abs(c.len - sqrt(90)) < 1e-10 )) || err_exit 'c.len != sqrt(90)'
/ast/src/lib/libtk/library/
H A Dentry.tcl286 if {abs(%x-$tkPriv(x)) > 2} {
347 if {($cur != $anchor) || (abs($tkPriv(pressX) - $x) >= 3)} {
H A Dscale.tcl200 set inc [expr abs([$w cget -to] - [$w cget -from])/10.0]
H A Dtext.tcl465 if {[$w compare $cur != $anchor] || (abs($tkPriv(pressX) - $x) >= 3)} {

Completed in 24 milliseconds