Ilia Ki
Ilia Ki
Would you convert floating to string to store it in Node?
Mir has precise number printing that produces the minimal prices decimal form of a given floating point number.
[Mir Algorithm](https://github.com/libmir/mir-algorithm) has Rhy (smallest precise decimal representation). Also, it has precise number parsing. `mir.conv : to` and `mir.format : text, print` can be used to/from string precise conversion.
> code however will require that the module of origin be marked @compute(CompileFor.hostAndDevice) to work on both the host and device Do you mean mir.ndslice should be marked?
> yes. I think it would be good to have a module (probably in dcompute) that imports all the relevant dcompute symbols from ldc.attributes and ldc.dcomputetypes if version = LDC_DCompute...
I mean that I do not understand why ndslice should be marked if it is completely generic. If we call a generic function from kernel function it can be automatically...
Thanks! #42 - the fix for empty input and the second unittest from this MR with minor fixes.
They have been planned for depreciation for a long time. However, std.complex is not well as builtin numbers. Especially for optimization with LDC. This version switches must not be used...
btw, from where the tests are come from?
> Just a question, would it be possible to use operator overloading, so that > v_1 = v * M ; can be written directly? A special matrix type is...