Maths Precision Workaround

Ken Cole ken.m.cole at gmail.com
Wed Jun 18 19:57:57 PDT 2014


I see via the online help files that maths precision is "16 Places to
left. 8 places to right of decimal Pt."!!

Okay for most things I guess but totally underwhelming for my current
project where I need up to 16 places to the right of the decimal point
to actually get anything apart from 0.0.

So, Sco Unix, filePro 5.0.7, what do the Unix experts suggest I do to
get that level of precision?

I have thought about but not tested:

1. write file with required calculation, system out to run bc
redirecting stdin and stdout, read in results file.
2. Write a user program in sh or Perl to take the inputs and generate
the outputs to be read back in via user.

I mostly need sin, cos, atan, exp and sqrt functions.

thanks

Ken


More information about the Filepro-list mailing list