# wasm: Preliminary \`fptrunc\` support · gitcafe/zig

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

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

Visibility: public

Requested revision: d01bfa032dd21a2464ca6be850053f68387acea8

Requested commit: d01bfa032dd21a2464ca6be850053f68387acea8

Commit: d01bfa032dd21a2464ca6be850053f68387acea8

Tree: 3b02c4a430db71e384f98bb3a9b6bb0fbbcfb241

Author: Luuk de Gram

Committer: Andrew Kelley

## Message

```
wasm: Preliminary `fptrunc` support

This implements the initial fptrunc instruction. For all other floating-point truncating,
a call to compiler-rt is required. (This also updates fpext to emit the same error).

```

## Parents

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

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