MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

floating point math



For a lot of applications, in-server floating point would be useful.  One
solution is to build a small standalone "math server" that the MOO talks
to using open_network_connection.  We built one of these for AstroVR using
the UNIX desk calculator bc.  The in-db representation of floats is as STR,
and bc-code is generated and sent to the math server.  The answers are
read back into the db as STR.  If you can do your math processing in a
single call to the math server it goes quickly.

Cheers, DVB





Home | Subject Index | Thread Index