From: Jens Axel Søgaard (jensaxel at soegaard.net) Date: Mon May 7 02:27:41 EDT 2012 |
|
2012/5/7 Matthew Flatt <mflatt at cs.utah.edu>: > I'd expect `flexpt' to be the same as `expt', but constrained to flonum > arguments, which would make it the same as > > (define (flexpt a x) > (if (and (flonum? a) (flonum? x)) > (expt a x) > (error ...s))) > > I agree that it would make a fine addition to `racket/flonum', but is > that what you had in mind? Yes, exactly. /Jens Axel
Posted on the users mailing list. |
|