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



The value used in the operation.

Special cases

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

Was this page helpful?

Thank you for your feedback!

Upgrade to InfluxDB Cloud or InfluxDB 2.0!

InfluxDB Cloud and InfluxDB OSS 2.0 ready for production.