Hi all, Extra examples of the AMD186, hope it helps: 1.000000 00 00 80 3f -1.000000 00 00 80 bf 2.000000 00 00 00 40 -2.000000 00 00 00 c0 4.000000 00 00 80 40 -4.000000 00 00 80 c0 8.000000 00 00 00 41 -8.000000 00 00 00 c1 65536.000000 00 00 80 47 -65536.000000 00 00 80 c7 0.500000 00 00 00 3f -0.500000 00 00 00 bf 0.250000 00 00 80 3e -0.250000 00 00 80 be 0.125000 00 00 00 3e -0.125000 00 00 00 be 2.500000 00 00 20 40 -2.500000 00 00 20 c0 6.125000 00 00 c4 40 -6.125000 00 00 c4 c0 Regards, Claudio -----Oorspronkelijk bericht----- Van: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]Namens Jim Verzonden: zaterdag 24 augustus 2002 21:58 Aan: PICLIST@MITVMA.MIT.EDU Onderwerp: Re: [OT]: Floating point formats Big Endian/Little Endian problem perhaps? What kind of processor is on the other end of this comm link? Is the comm link doing a full eight bits - does it perhaps recognize any particular control characters that the data could represent? What format does the characteristic and the mantissa (of the FP number) take? RF (and software) Jim "Our ability to manufacture fraud has exceeded our ability to detect it." - Al Pacino as Viktor Taransky in the movie 'Simone' ----- Original Message ----- From: "Claudio Tagliola" To: Sent: Saturday, August 24, 2002 1:32 PM Subject: [OT] Floating point formats > Hello all, > > > I have a problem which doesn't belong here but I'm still turning to the > piclist 'cause I know I can find a lot of skilled ppl here, who maybe can > solve my problem. > > I'm working on an 186 AMD based micro. This this is programmed in Borland > C++ 5. The problem I have is with floating points. As this this doesn't have > a fp processor onboard, I'm using Borlands fp emulation library (emu.lib). > What I am trying to do is send a 32 bit float value over a certain > connection, byte for byte. However, If I put them all together again on the > other side and hope to get the same float back, I am mistaken. Therefore, I > came to the conclusion the emu.lib uses a non standard (i.e. IEEE754), fp > format. And I am at a loss which one that should be. Extensive googling only > gave me a bunch of unreadable pages and highly arcane info. > > Any ideas for this one? > > > Best regards, > > Claudio Tagliola > > -- > http://www.piclist.com hint: To leave the PICList > mailto:piclist-unsubscribe-request@mitvma.mit.edu > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu