Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: add atan2 function #230

Open
alteous opened this issue Mar 18, 2024 · 0 comments
Open

Suggestion: add atan2 function #230

alteous opened this issue Mar 18, 2024 · 0 comments

Comments

@alteous
Copy link
Contributor

alteous commented Mar 18, 2024

I noticed it was missing from d4647ad in the UnaryOperation enum:

/// Operations that can be applied to a value in memory, requiring one operand.
#[derive(Debug, Deserialize, Serialize, Clone, Copy, PartialEq, Eq)]
pub enum UnaryOperation {
    /// Logical negation
    Not,
    /// Flip the sign of a signed number
    Neg,
    /// Get the absolute value of a number
    Abs,
    /// Arc cosine
    Acos,
    /// Arc sine
    Asin,
    /// Arc tangent
    Atan,
    /// Ceiling
    Ceil,
    /// Cosine
    Cos,
    /// Floor,
    Floor,
    /// Natural logarithm
    Ln,
    /// Logarithm base 10
    Log10,
    /// Logarithm base 2
    Log2,
    /// Sine
    Sin,
    /// Square root
    Sqrt,
    /// Tangent
    Tan,
    /// Convert radians to degrees
    ToDegrees,
    /// Convert degrees to radians
    ToRadians,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant