/ Get the double value pointed by Binp. */ /
| 1989 | /* Get the double value pointed by Binp. */ |
| 1990 | /***********************************************************************/ |
| 1991 | double BINVAL::GetFloatValue(void) |
| 1992 | { |
| 1993 | if (Len >= 8) |
| 1994 | return *(double*)Binp; |
| 1995 | else if (Len >= 4) |
| 1996 | return (double)(*(float*)Binp); |
| 1997 | else |
| 1998 | return 0.0; |
| 1999 | |
| 2000 | } // end of GetFloatValue |
| 2001 | |
| 2002 | /***********************************************************************/ |
| 2003 | /* BINVAL SetValue: copy the value of another Value object. */ |
no outgoing calls
no test coverage detected