# Fix linking errors with floorl on MSVC by including math.h in a \.cpp file\. floorl is a force inline function defined in a header thus not visible for the linker\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 4eaf3c665e8c0b028a7ea02a0fbcb1950c8b1a25

Requested commit: 4eaf3c665e8c0b028a7ea02a0fbcb1950c8b1a25

Commit: 4eaf3c665e8c0b028a7ea02a0fbcb1950c8b1a25

Tree: 6b1b624d677dca6c6bf010085300ec89ffab55d2

Author: mlarouche

Committer: Andrew Kelley

## Message

```
Fix linking errors with floorl on MSVC by including math.h in a .cpp file. floorl is a force inline function defined in a header thus not visible for the linker.

```

## Parents

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

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