Commit 91f73bb9 authored by Cerlane Leong's avatar Cerlane Leong 💬


parent 2df63994
......@@ -39,8 +39,7 @@ Please note that the same Makefile in build/Linux-x86_64-GCC is used for all 3 o
* **User friendly Python version** :
* **Julia** : Currently only simple .so support. Documentation can be found below.
## Fast C version
......@@ -506,5 +505,26 @@ int main(int argc, char *argv[]){
* Check if quire is NaR
* bool (instance of quire).isNaR()
## Julia
Credits to Milan Klöwer.
### Build shared library
cd SoftPosit/build/Linux_x86_64_GCC/
make -j6 julia
### Simple Tests
julia> t = ccall((:convertDoubleToP16, "/path/to/SoftPosit/build/Linux-x86_64-GCC/"), UInt16, (Float64,),1.0)
julia> t = ccall((:convertDoubleToP16, "/path/to/SoftPosit/build/Linux-x86_64-GCC/"), UInt16, (Float64,),-1.0)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment