comp.lang.ada
 help / color / mirror / Atom feed
* problems with log function
@ 2003-12-23 12:12 Jorge Su?rez-Sol?s Rivaya
  2003-12-23 17:26 ` Stephen Leake
  0 siblings, 1 reply; 3+ messages in thread
From: Jorge Su?rez-Sol?s Rivaya @ 2003-12-23 12:12 UTC (permalink / raw)


hi, this is my first post.
First of all 'hi' to every body, my name is Jorge and Im from Spain.

I have a problem with the log function.

I have made an instantion of the generic package
Ada.Numerics.Generic_Elementary_Function for Floats something like
this:

package Math is new Ada.Numerics.Generic_Elementary_Function(Float);
use Math;

and when i use it a say: log(Y)   
Y is a float of course. I do not have any compilation problem, but
when I execute it I get an Ada.Numerics.Argument_Error if Y is higher
than 1.0

I do not understand it. 

Please HELP ME

Thanks all

Jorge Su�rez-Sol�s Rivaya



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-24  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-23 12:12 problems with log function Jorge Su?rez-Sol?s Rivaya
2003-12-23 17:26 ` Stephen Leake
2003-12-24  8:50   ` Jorge Su?rez-Sol?s Rivaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox