Home
last modified time | relevance | path

Searched defs:ratVal (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/test/abi/
Didata.go20 ratVal struct{ val *big.Rat } // Float values representable as a fraction argument
30 func (x ratVal) String() string { return rtof(x).String() }
55 func rtof(x ratVal) floatVal { return floatVal{newFloat().SetRat(x.val)} }
/aosp_15_r20/prebuilts/go/linux-x86/src/go/constant/
Dvalue.go98 ratVal struct{ val *big.Rat } // Float values representable as a fraction struct
108 func (ratVal) Kind() Kind { return Float }
189 func (x ratVal) String() string { return rtof(x).String() }
252 func (x ratVal) ExactString() string {
270 func (ratVal) implementsValue() {}
284 func rtof(x ratVal) floatVal { return floatVal{newFloat().SetRat(x.val)} }