# Merge branch 'std.math.atan: Add @Vector\(?,f32\) and @Vector\(?,f64\) support' · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e262a32ad1d039ee575009c8ea770743b72e8160)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e262a32ad1d039ee575009c8ea770743b72e8160

Requested commit: e262a32ad1d039ee575009c8ea770743b72e8160

Commit: e262a32ad1d039ee575009c8ea770743b72e8160

Tree: b8b0268088b056e295422c115fdd5f36df253653

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Merge branch 'std.math.atan: Add @Vector(?,f32) and @Vector(?,f64) support'

Add SIMD support for atan (f32 and f64), based on the [ARM
impl](https://github.com/ARM-software/optimized-routines/blob/master/math/aarch64/advsimd/atanf.c).
To reduce branching, more polynomial approximation is used.

Reviewed-on: https://codeberg.org/ziglang/zig/pulls/31195

```

## Parents

- [07b08b96389a1dd60bc150a5ed72586ee57b2303](https://git.cafe/gitcafe/zig/commit/07b08b96389a1dd60bc150a5ed72586ee57b2303?format=markdown)

- [12e6ac2e8fb034f823390e5d7f1680411c903e7c](https://git.cafe/gitcafe/zig/commit/12e6ac2e8fb034f823390e5d7f1680411c903e7c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e262a32ad1d039ee575009c8ea770743b72e8160?format=markdown)
