# std.math: add \`inline\` to some functions · gitcafe/zig

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

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

Visibility: public

Requested revision: efe34243c674a06ead171adcce67a71efdf057e3

Requested commit: efe34243c674a06ead171adcce67a71efdf057e3

Commit: efe34243c674a06ead171adcce67a71efdf057e3

Tree: c78340f97422ff6dc6d25c60606a5bb1f41505e6

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.math: add `inline` to some functions

These functions semantically benefit from being inline; it makes sense
that `isInf(x)` where `x` is comptime-known should have a
comptime-known result.

```

## Parents

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

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