Frank Klemm schrieb am Mon, 18 Sep 2000:
> ::  Hi Frank,
> ::  
> ::  > ::  
> ::  > ::  1)  one type is long double, the other will be casted to long double
> ::  > ::  2)  one type is double, the other will be casted to double
> ::  > ::  3)  one type is float, the other will be casted to float
> ::  > Fully wrong.
> ::  > The rest I haven't checked.
> ::  > 
> ::  
> ::  Does it mean that you've tested the above?
> ::  If yes - how did you test this to be wrong? what is the compiler, 
> ::  optimization options?
> ::  
>    First
> 
> a) char, signed char, short       =>  int
> b) unsigned char, unsigned short  =>  unsigned int
> c) float                          =>  double


So your Compiler/target CPU has only an affinity for some 
elementary types. This is very special and different on
other Compilers/CPUs.


>    Second
> 
> d) still different types?
> 
>               ldouble double  ulong   long    uint    int
> 
> ldouble               ldouble ldouble ldouble ldouble ldouble ldouble
> double                ldouble double  double  double  double  double
> ulong         ldouble double  ulong   ulong   ulong   ulong
> long          ldouble double  ulong   long    ulong   long
> uint          ldouble double  ulong   ulong   uint    uint
> int           ldouble double  ulong   long    uint    int
> 
> float <op> float gives a double.


Silly, you are saying above that it is fully wrong and then 
telling the same at the bottom.


<snip>


Ciao Robert


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to