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-19 19:42:15 -05:00
2022-04-27 12:20:44 -07:00
2022-04-24 23:01:06 -04: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-21 14:12:08 +05:45
2022-03-08 20:38:12 +02:00
2022-04-20 17:18:06 -07:00
2022-01-07 00:06:06 -05:00
2022-04-14 10:12:45 -07:00
2022-04-27 12:20:44 -07:00
2022-04-21 14:39:41 -04:00
2022-04-21 21:53:29 +02:00
2022-04-14 10:12:45 -07:00
2022-04-20 05:31:24 -07:00
2022-04-27 12:20:44 -07:00
2022-04-15 17:01:01 -05:00
2022-01-07 00:06:06 -05:00