Help for this page

Select Code to Download


  1. or download this
    return abs($a - $b) % 180
    
  2. or download this
    for ( -180, -1, 0, 1, 180 ) {
        is( angdiff(0, $_), abs $_, "angdiff (0,$_)" );
    }