Skip to content

Commit 8df4ad7

Browse files
Update README.md
1 parent 7397906 commit 8df4ad7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Then 'Quadmath_examples' will be listed in the JuliaBox home screen. The example
2020
+ `ccall` does not treat parameters and returning values of Julia type `Float128` as C type `__float128` as it would
2121
be appropriate.
2222

23-
Unfortunately, this is a bug which cannot easily be fixed.
23+
Unfortunately, this is a bug which cannot easily be fixed without modifying the internals of Julia.
2424
The [x86-64 Application Binary Interface](http://www.x86-64.org/documentation.html)
2525
says that parameters and returning values of type `__float128` should be passed preferably in the (128 bit long) SSE floating point registers `xmm0`,...,`xmm7`. However, for the datatype `Float128` defined as
2626
```julia
@@ -37,7 +37,7 @@ Then 'Quadmath_examples' will be listed in the JuliaBox home screen. The example
3737
in C.
3838

3939
A remedy is to implement a wrapper function for each external function with `__float128` parameters or return values,
40-
that you want to call by `ccall`. Such a wrapper takes parameters `x` of type `myfloat128` declared as
40+
that you want to call with `ccall`. Such a wrapper takes parameters `x` of type `myfloat128` declared as
4141
```c
4242
typedef union
4343
{

0 commit comments

Comments
 (0)