# Compile error for signed integer math · gitcafe/zig

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

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

Visibility: public

Requested revision: d4dc2eb8076a5aa5cf2eb94c7b8407c94337bff8

Requested commit: d4dc2eb8076a5aa5cf2eb94c7b8407c94337bff8

Commit: d4dc2eb8076a5aa5cf2eb94c7b8407c94337bff8

Tree: 1bc54a14575cfa9c5274d9cdb6e40c3055ba312d

Author: antlilja

Committer: antlilja

## Message

```
Compile error for signed integer math

Output compile errors when signed integer types are used on functions
where the answer might've been a complex number but that functionality hasn't
been implemented.

This applies to sqrt, log, log2, log10 and ln.

A test which used a signed integer was also changed to use an unsigned
integer instead.

```

## Parents

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

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