[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Multi-precision progress reportis
From: |
CdeMills |
Subject: |
Multi-precision progress reportis |
Date: |
Sun, 9 Feb 2014 14:32:08 -0800 (PST) |
Hello,
the rewrite of multi-precision variables by direct use of mpfr is useable. A
'make' in multi-precision/src generates mpv.oct implements a three-args mpv
function. Example of calls:
x = mpv(2, 1024)
x = mpv('log2', 2048, "MPFR_RNDU")
%# accepted constants: log2, pi, euler, catalan
When a mpv number is created, basic ops (+,-,*,/) works by upclassing the
argument with the lowest precision to the precision of the other. Mapping
functions (sin, cos, ...) are implemented too. Only real scalar values are
supported for now
To go further:
1) how to overload function like tan2 ?
2) how to implement complex values ?
3) how to go from scalar to matrices ?
Regards
Pascal
--
View this message in context:
http://octave.1599824.n4.nabble.com/Multi-precision-progress-reportis-tp4661775.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Multi-precision progress reportis,
CdeMills <=