fmin and fmax if the inputs are continuous ("f" is
for floating point). The reason we follow the C++
convention is to make it clear what the result type is:
int max(int,int)
int min(int,int)
real fmax(real,real)
real fmin(real,real)
Because int gets promoted to real, you can use fmax
and fmin with real or int inputs, but the outputs
are always real.
- Bob
> --
> You received this message because you are subscribed to the Google Groups "stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.