Deleted user

Results 130729 comments of Deleted user
trafficstars

### A BigRat Example: fibonacci sequence using big rational numbers ```odin // fibonacci sequence using big rational numbers package fibBigRat import "core:fmt" import "core:math/big" main :: proc() { N ::...

**Example of adding a second (custom) temp_allocator. This is _very_ easy in Odin, two lines of code plus one to destroy.** ```odin // example of adding a second (custom) temp_allocator...

**Create SHA-256 Checksum of "Hello, World!" with digest output in hex format (min 2 digits per byte)** ```odin package main import "core:crypto/hash" import "core:fmt" main :: proc() { STRING ::...

python code for comparison with odin above only if interested ```py import hashlib def calculate_sha256(data): # Convert data to bytes if it's not already if isinstance(data, str): data = data.encode()...

### Calculate pi to an arbitrary number (set N) of digits using Stanley Rabinowitz algorithm Great overall example of Odin and syntax, getting user input, string builder, arrays, slicing index,...

xref Reference-LAPACK/lapack#209.

Yes, it uses linpack but not lapack. So we should open an issue so that LAPACK will add the function, and then can backport it for older LAPACK APIs.

The function won't be added to LAPACK unless someone submits a PR to them. If no one takes the initiative, then it won't happen. Regardless, when is the next SciPy...

@ilayn That's true, but it would be trivial to backport that particular function (e.g. only include it if the symbol is undefined).

Let me be clear: if the function is added to LAPACK, then you will see it in SciPy by the next feature release (1.10 as of now), assuming that it's...