TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: Frank Malcolm
from: Paul Edwards
date: 1996-01-03 23:22:56
subject: math functions

PE> Does anyone have the ability and tenacity to implement some
PE> or all of the following functions marked "unimplemented"
PE> (except the last 3, as I can do them myself?  I will post the
PE> descriptions of the functions in the next message, quoting
PE> from the ANSI C draft...

FM> Why don't you just look at the code generated from one of your compilers
FM> when you compile for 'copro present', then duplicate that? 

I thought that was a good idea at first, but then I realised that
these things, like sin(), are library functions, and will be coded
already.  I could disassemble the library function of one of my
compilers, or even just look at the library source code which I
have for 2 of my compilers (at least), but that is basically
cheating, as I could be accused of copyright violation doing
something like that.  It would be OK if I looked at the library
functions, then understood both the formulae and the copro
instructions, and then tackled the problem a month later, using
my knowledge/understanding.  It's cleaner to get someone who already
has the understanding to do it from scratch though.  

FM> If C can't do asm instructions 

The language does not include support for assembler.

FM> (Turbo Pascal can) 

However, specific compilers do, including Turbo C.

FM> you might have to make external objs with MASM or TASM.

This is what I want to do.  Basically I was looking for a
matha.asm.  BFN.  Paul.
@EOT:

---
* Origin: X (3:711/934.9)

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.