ACOS()

Description

The ACOS() function returns the arccosine(given in radians) of the input number.

Syntax

  1. > ACOS(number)

Arguments

ArgumentsDescription
numberRequired. Any numeric data type supported now.

Examples

  1. > drop table if exists t1;
  2. > create table t1(a float,b int);
  3. > insert into t1 values(0.5,1);
  4. > insert into t1 values(-0.5,-1);
  5. > select acos(a),acos(b) from t1;
  6. +---------+---------+
  7. | acos(a) | acos(b) |
  8. +---------+---------+
  9. | 1.0472 | 0.0000 |
  10. | 2.0944 | 3.1416 |
  11. +---------+---------+

Constraints

Currently, MatrixOne doesn’t support select function() without from tables.