Bug 5361 - getting <<print long_double >> to work
Summary: getting <<print long_double >> to work
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Teresa Thomas
URL:
Keywords:
Depends on:
Blocks: 5664 5007
  Show dependency treegraph
 
Reported: 2007-11-19 15:43 UTC by Andrew Cagney
Modified: 2008-01-24 19:32 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2007-11-19 15:43:28 UTC
The problems are with FloatingPointType and FloatingPointUnit:

-> Type.doubleValue() -> Type.bigDecimalValue()
-> FloatingPointUnit use BigDecimal
-> FloatingPointType learn how to re-pack IEEE 754/854 80-bit floating-point
values values into BigDecimal's.
-> ?
Comment 1 Teresa Thomas 2008-01-24 19:32:32 UTC
    Updates for migration to BigFloatingPoint.
    
    frysk-core/frysk/value/ChangeLog
    2008-01-17  Teresa Thomas  <tthomas@redhat.com>
    
    	* Value.java (asBigFloatingPoint): New.
    	(doubleValue): Use BigFloatingPoint.
    	* IntegerType.java (getBigFloatingPoint): New.
    	(bigFloatingPointValue): New.
    	* FloatingPointType.java (getBigFloatingPoint): New.
    	(bigFloatingPointValue): New.
    	(assign): Use BigFloatingPoint.
    	* ArithmeticType.java (getBigFloatingPoint): New
    	(bigFloatingPointValue): New.
    	* Format.java (printFloatingPoint): Use BigFloatingPoint.

commit 10a04274e7e6d5b785459fece631e571e2eda71a
Author: Teresa <tthomas@redhat.com>
Date:   Thu Jan 17 13:57:39 2008 -0500

    Files to define and support IEEE 754/854 floating point.
    
    frysk-core/frysk/value/ChangeLog
    2008-01-17  Teresa Thomas  <tthomas@redhat.com>
    
    	* FloatingPointFormat.java: New.
    	* TestFloatingPoint854Format.java: New.
    	* FloatingPoint854Format.java: New.
    	* BigFloatingPoint.java: New.