Skip to content

math:sin, cos, sincos: Inconsistencies between documentation and implementation #166

@mateunho

Description

@mateunho

According to Questions and functions' docs, there's a clearly defined input value range of 0:2Pi. Since pal is meant to be super fast, one should not check nor normalize input (inside of function) which is out of the range (GIGO rule). My questions arises:

  1. Why there is a M_NORMALIZE_RADIANS macro used?
  2. Why test cases for these functions are using values from range -Pi:Pi?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions