Actions
Task #4824
closed[model] Floating-point arithmetic support
Start date:
04/03/2014
Due date:
05/31/2014
% Done:
100%
Estimated time:
Detected in build:
svn
Published in build:
141230
Description
The JScience library can be used for supporting floating-point types and operations (see the org.jscience.mathematics.number.FloatingPoint
package).
http://jscience.org/doc/license.txt
JScience - Java(TM) Tools and Libraries for the Advancement of Sciences. Copyright (C) 2006 - JScience (http://jscience.org/) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice and include this license agreemeent. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Updated by Andrei Tatarnikov over 10 years ago
Такая реализация лучше подходит:
Updated by Andrei Tatarnikov over 10 years ago
- % Done changed from 10 to 30
Поддерживается на уровне транслятора. Вся MIPS модель транслируется. Теперь нужно поддержать на уровне Model API.
Updated by Andrei Tatarnikov about 10 years ago
- % Done changed from 30 to 80
В r2408 сделана прототипная реализация, использующая классы стандартной бибилиотеки Java. Она ограничена IEEE 754 single и double и имеет проблемы с корректностью округления.
В дельнейшем предполагается использовать SoftFloat, который нужно портировать под Java или работать с ним через JNI:
Updated by Alexander Kamkin about 10 years ago
- Status changed from Open to Resolved
Поддержка в трансляторе сделана - закроем эту задачу.
Updated by Andrei Tatarnikov almost 10 years ago
- Status changed from Resolved to Closed
- % Done changed from 80 to 100
- Published in build set to 141230
Actions