blob: 3f1d66066a2472e2c5f0b000ce762109e41fc95d [file] [log] [blame]
/*
* Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
* for details. All rights reserved. Use of this source code is governed by a
* BSD-style license that can be found in the LICENSE file.
*/
/**
* @assertion double acos(num x)
* Converts [x] to a dobule and returns its arc tangent in radians.
* @description Checks that an argument of atan should be a number (a decimal
* or hexadecimal integer, or a decimal double).
* @author ngl@unipro.ru
*/
import "dart:math" as Math;
import "../../Utils/expect.dart";
main() {
var a1 = Math.atan(0);
var a2 = Math.atan(0x0000);
var a3 = Math.atan(0.0);
Expect.equals(a1, a2);
Expect.equals(a1, a3);
}