# Avoid endless recursion in \_\_extendhfsf2 · gitcafe/zig

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

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

Visibility: public

Requested revision: 4ab7b459dfea45d1dbdfe301eeb840eaa796a4e7

Requested commit: 4ab7b459dfea45d1dbdfe301eeb840eaa796a4e7

Commit: 4ab7b459dfea45d1dbdfe301eeb840eaa796a4e7

Tree: a819728e67d238a91a09f4e3a579a469be05f2af

Author: LemonBoy

Committer: LemonBoy

## Message

```
Avoid endless recursion in __extendhfsf2

On some platforms the conversion ended up creating a dangerous recursive
loop that ate all the stack.

The conversion to f16 is also pointless since we're operating on the raw
bits anyway.

```

## Parents

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

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