Nick Craig-Wood
Nick Craig-Wood
Thanks :-)
> In Go, you can't use a type switch on non-interface types like int. However, it should not be too difficult for the Fo compiler to remove the type switch...
Sorry for the delay in responding! If you wanted to send a PR like that it would be fine with me, however it would need to work on all platforms...
I don't think tmpfs supports O_DIRECT https://lists.archive.carbon60.com/linux/kernel/720702 So I don't think I can fix this
Thank you very much for your comments. I chose the value 4096 as it is big enough for all current disks as is [discussed here](http://msdn.microsoft.com/en-us/library/windows/desktop/cc644950%28v=vs.85%29.aspx). If you could propose a...
You need to make sure you have `libgmp-dev `installed and it should provide the `gmp.h` file. Amazingly I seem to have missed that from the docs!
I believe GMP does support it, but this library doesn't as it was written before Go got big.Float support!
I don't have a plan for it. Would you like to submit a Pull Request with support?
This will depend entirely on `libgmp`. I found [a message on the mailing list](https://gmplib.org/list-archives/gmp-discuss/2012-March/004948.html) from 2012 which states > The hard limit for mpz is 2^32-1 *bits*, on a 32-bit...
@zugzwang you can certainly output the integers as binary - see the [Bytes method](https://pkg.go.dev/github.com/ncw/gmp?tab=doc#Int.Bytes) - I'm not sure how efficient it is though!