Documentation

math.atan() function

The math.atan() function returns the arctangent of x in radians.

Output data type: Float

import "math"

math.atan(x: 3.14)

// Returns 1.262480664599468

Parameters

x

The value used in the operation.

Data type: Float

Special cases

math.atan(x: ±0)    // Returns ±0
math.atan(x: ±Inf)  // Returns ±Pi/2

New! Cloud or OSS?

InfluxDB OSS 2.0 now generally available!

InfluxDB OSS 2.0 is now generally available and ready for production use. See the InfluxDB OSS 2.0 release notes.

For information about upgrading to InfluxDB OSS 2.0, see: