Re: [R] Floats in Microsoft Basic format

2011-08-10 Thread Duncan Murdoch
On 10/08/2011 10:16 AM, Barry Rowlingson wrote: On Wed, Aug 10, 2011 at 2:34 PM, Duncan Murdoch wrote: > On 10/08/2011 5:58 AM, taraxacum wrote: >> >> Hi all, >> I need to convert a floating point value from Microsoft Basic format to >> IEEE >> format. >> There's a simple way to achieve t

Re: [R] Floats in Microsoft Basic format

2011-08-10 Thread Barry Rowlingson
On Wed, Aug 10, 2011 at 2:34 PM, Duncan Murdoch wrote: > On 10/08/2011 5:58 AM, taraxacum wrote: >> >> Hi all, >> I need to convert a floating point value from Microsoft Basic format to >> IEEE >> format. >> There's a simple way to achieve this in R or I have to write my own >> function? >> (e.g.

Re: [R] Floats in Microsoft Basic format

2011-08-10 Thread Duncan Murdoch
On 10/08/2011 5:58 AM, taraxacum wrote: Hi all, I need to convert a floating point value from Microsoft Basic format to IEEE format. There's a simple way to achieve this in R or I have to write my own function? (e.g. convert the C code below) You'll need to write your own function. It can be v

[R] Floats in Microsoft Basic format

2011-08-10 Thread taraxacum
Hi all, I need to convert a floating point value from Microsoft Basic format to IEEE format. There's a simple way to achieve this in R or I have to write my own function? (e.g. convert the C code below) thanks t #include /* for strncpy */ int _fmsbintoieee(float *src4, float *dest4)