# stage1: More precise serialization of f16 values · gitcafe/zig

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

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

Visibility: public

Requested revision: 7a4dad7e87bd5561bbe62f5d38fda1b968f9d529

Requested commit: 7a4dad7e87bd5561bbe62f5d38fda1b968f9d529

Commit: 7a4dad7e87bd5561bbe62f5d38fda1b968f9d529

Tree: b6d7f66a132aef0589e0732972c4e87310a6b122

Author: LemonBoy

Committer: LemonBoy

## Message

```
stage1: More precise serialization of f16 values

Taking a detour trough a f64 is dangerous as the softfloat library
doesn't like converting sNaN values.

The error went unnoticed as an exception is raised by the library but
the stage1 compiler doesn't give a damn.

```

## Parents

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

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