Undocumented math Functions
Posted in 1994
Peter Wiley - Poultry — — source: Informix-list mailing list archive (1991-1998)
So far, I have found:
sine, cos, tan, log10. Haven't found ln or any antilog function. Unfortunately.
All these are only available by using a SELECT statement.
eg:
main
define junk float
let junk = 45
create temp table holdit
(
oneval float
)
insert into holdit values(junk)
select sin(oneval) into junk from holdit
display junk
# etc....
end main
I forgot to define the database before the temp table declaration.
The syntax for exp escapes me at the moment. Anyone care to volunteer it?
More importantly, anyone know if the antilog functions are there too? I've
tried alog10 and antilog10 without success. ln fails too for loge.
Peter Wiley