# Fix bug where std.math.asinh64 doesn't respect signedness for negative values \(\#9940\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 411e9ca4ade243344f358b14151e87e2334e76a0

Requested commit: 411e9ca4ade243344f358b14151e87e2334e76a0

Commit: 411e9ca4ade243344f358b14151e87e2334e76a0

Tree: 03af0a3d229ad72e4ae1e2483e29a9ee66176f13

Author: Miles Alan

Committer: GitHub

## Message

```
Fix bug where std.math.asinh64 doesn't respect signedness for negative values (#9940)

* std: Correct math.asinh64 to return correct signedness for negative values

* std: Add tests for negative values for math.asinh32 and math.asinh64
```

## Parents

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

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