Andrew Kelley 09f1d62bdf add new builtin function @tan
The reason for having `@tan` is that we already have `@sin` and `@cos`
because some targets have machine code instructions for them, but in the
case that the implementation needs to go into compiler-rt, sin, cos, and
tan all share a common dependency which includes a table of data. To
avoid duplicating this table of data, we promote tan to become a builtin
alongside sin and cos.

ZIR: The tag enum is at capacity so this commit moves
`field_call_bind_named` to be `extended`. I measured this as one of
the least used tags in the zig codebase.

Fix libc math suffix for `f32` being wrong in both stage1 and stage2.
stage1: add missing libc prefix for float functions.
2022-04-27 16:45:23 -07:00
..
2022-04-15 11:17:19 +03:00
2022-04-27 16:45:23 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2021-10-05 12:32:26 -07:00
2022-04-27 12:20:44 -07:00
2021-10-05 12:32:26 -07:00
2022-04-07 05:04:38 -06:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 12:20:44 -07:00
2022-04-27 14:18:34 -07:00
2022-04-27 12:20:44 -07:00