Double precision in mex file
Show older comments
Hi everyone,
I have a numerical model for some thermodynamical process. Its computations takes a long time and I found a possibility to do a mex file that sufficiently speeds up my problem. However, I obtain results that does not match with experimental results, however I am almost sure about good code implementation and a problem is grid-independent. Can the mex file reduce somehow precision of a variables?
Or another question. When i multiply two double-precise number is their multiplication also double-precision number?
Thx for any ideas
Accepted Answer
More Answers (0)
Categories
Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!