SQLite Forum

Bug: MSVC uses intrinsic versions of ceil and floor for floating-point modes precise and fast (diagnosed)
Login
And the executable contains the functions ...

```
sqlite> select * from pragma_compile_options where compile_options like 'comp%' or compile_options like '%math%';
┌───────────────────────┐
│    compile_options    │
├───────────────────────┤
│ COMPILER=msvc-1928    │
│ ENABLE_MATH_FUNCTIONS │
└───────────────────────┘
sqlite> select * from pragma_function_list where name in ('ceil', 'ceiling', 'floor');
┌─────────┬─────────┬──────┬──────┬──────┬─────────┐
│  name   │ builtin │ type │ enc  │ narg │  flags  │
├─────────┼─────────┼──────┼──────┼──────┼─────────┤
│ ceil    │ 1       │ s    │ utf8 │ 1    │ 2099200 │
│ ceiling │ 1       │ s    │ utf8 │ 1    │ 2099200 │
│ floor   │ 1       │ s    │ utf8 │ 1    │ 2099200 │
└─────────┴─────────┴──────┴──────┴──────┴─────────┘
```