Jeroen van Rijn
Jeroen van Rijn
It's certainly an idea to add a `-target-version` flag or something of that nature. Does `-extra-linker-flags:` do anything for you?
I've added the following, which will be merged shortly: ``` -minimum-os-version: Sets the minimum OS version targeted by the application e.g. -minimum-os-version:12.0.0 (Only used when target is Darwin) ```
I wonder how well [Jeff Roberts' `sprintf`](https://twitter.com/nothings/status/805742452455788544?lang=en) fares in this, and whether we could borrow its %f code.
This does print the expected values. ```odin Foo :: struct { f: f64be, i: i64be, } main :: proc () { x := Foo{42, 42} fmt.printf("x = {0:v}\n", x) fmt.println("this...
This however prints `{f = 0.000, i = 42}`, so it appears `f32be` is broken, whereas `f64be` isn't. ```odin Foo :: struct { f: f32be, i: i32be, } main ::...
It is under discussion. What we'll likely have to do is one of the following: - For Windows, dynamically import `ShowCursor` and wrap it to avoid the link conflict. -...
Minimal example: - Reproduction on Windows: -- `odin run .` seems to work fine. It builds and runs. Created `.exe` doesn't crash under debug. -- `odin run . -debug` seems...
```cpp (gdb) run build . Starting program: /mnt/w/Odin/odin build . [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7ffff21f3700 (LWP 1772)] [New Thread 0x7ffff19f2700 (LWP 1773)]...
If you want to make a pull request with the binding fix and proposed native `pow_complex`, we can get this added in no time.
`core:math` has `pow` in `math.odin`. That `pow` procedure group could be extended with support for complex types. As for tests, one possible avenue could be to test your implementation against...