Page 1 of 1

POW with float point

Posted: Sun Jun 29, 2025 2:56 pm
by jacknpoe
I wanna do this kind of math:

Code: Select all

e = 1.03 ^ 0.5
^ and POW use only integer. When I use EXP and LOG, I have the "Internal method not implemented" error:

Code: Select all

e = EXP( LOG (1.03) * 0.5)
I don't think it's my fault. What to do?

Re: POW with float point

Posted: Mon Jun 30, 2025 9:06 pm
by spotlessmind1975
Hi jacknpoe, and welcome! :)
jacknpoe wrote: Sun Jun 29, 2025 2:56 pm When I use EXP and LOG, I have the "Internal method not implemented" error:
At the moment the error depends on the fact that the functions LOG() and EXP() are not implemented for the floating point under Zilog Z80 and Sharp SM83 processor, hence the error message. For the other processors, however, they are fully implemented. So you could try to compile the source for computers with Morotola 6809 or MOS 6502/6510/8502 processors

The completion of the implementations for Z80 and SM83 is progressing according to a roadmap, which can be possibly kept an eye on via tickets on github:ticket #753 - ticket #754

Please let me know if I can be of any help. :D