Page 1 of 1

Float problem with Tailbite 1.4.6 and Win7(x64)

Posted: Sat Jan 22, 2011 2:52 pm
by mpz
Hi,

i found a little problem and inform about it and the solution:

if you use a term as procedurereturn of a float procedure only the first term comes back

if you use this proceduredll the fMin gets back

Code: Select all

ProcedureDLL.f ADD_f(fMin.f, fMax.f) 
  
  ProcedureReturn  fMin + fMax  
  
EndProcedure


if you use this proceduredll the fMin+f Max gets back

Code: Select all

ProcedureDLL.f ADD_ff(fMin.f, fMax.f)  
  
  Float.f = fMin + fMax
  
 ProcedureReturn  Float  
EndProcedure 
with a integer proceduredll everythink ist fine, fMin + fMax gets back

Code: Select all

ProcedureDLL.i ADD_i(fMin, fMax) 
  
  ProcedureReturn  fMin + fMax  
  
EndProcedure 
P.S: Dear lexvictory you make a great job and i love and need tailbite. So i post it and I hope the Bug Posting Rules are correct now...

Greeting Michael

Re: Float problem with Tailbite 1.4.6 and Win7(x64)

Posted: Sun Jan 23, 2011 4:34 am
by lexvictory
have you read this topic? http://purebasic.fr/english/viewtopic.php?f=26&t=35957

I had to do some ASM trickery. It is already quite complicated.
Treat it as a known issue for the moment

Re: Float problem with Tailbite 1.4.6 and Win7(x64)

Posted: Sun Jan 23, 2011 10:23 am
by mpz
Hi

Sorry i don't had read this. I will check the other threads before i send you an new problem first. The solution to use float works fine and i can works with it

Greetings Michael