mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
delete float80 from libraries
R=rsc DELTA=40 (0 added, 38 deleted, 2 changed) OCL=25969 CL=25969
This commit is contained in:
parent
3bc6fd63fe
commit
1fe42e2d4d
5 changed files with 2 additions and 40 deletions
|
|
@ -438,34 +438,6 @@ func (v *float64ValueStruct) Set(f float64) {
|
|||
*(*float64)(v.addr) = f
|
||||
}
|
||||
|
||||
// -- Float80
|
||||
|
||||
// Float80Value represents a float80 value.
|
||||
type Float80Value interface {
|
||||
Value;
|
||||
Get() float80; // Get the underlying float80.
|
||||
Set(float80); // Get the underlying float80.
|
||||
}
|
||||
|
||||
type float80ValueStruct struct {
|
||||
commonValue
|
||||
}
|
||||
|
||||
func float80Creator(typ Type, addr Addr) Value {
|
||||
return &float80ValueStruct{ commonValue{Float80Kind, typ, addr} }
|
||||
}
|
||||
|
||||
/*
|
||||
BUG: can't gen code for float80s
|
||||
func (v *Float80ValueStruct) Get() float80 {
|
||||
return *(*float80)(v.addr)
|
||||
}
|
||||
|
||||
func (v *Float80ValueStruct) Set(f float80) {
|
||||
*(*float80)(v.addr) = f
|
||||
}
|
||||
*/
|
||||
|
||||
// -- String
|
||||
|
||||
// StringValue represents a string value.
|
||||
|
|
@ -819,7 +791,6 @@ var creator = map[int] creatorFn {
|
|||
FloatKind : floatCreator,
|
||||
Float32Kind : float32Creator,
|
||||
Float64Kind : float64Creator,
|
||||
Float80Kind : float80Creator,
|
||||
StringKind : stringCreator,
|
||||
BoolKind : boolCreator,
|
||||
PtrKind : ptrCreator,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue