Boost logo

Boost Users :

From: Guillaume Melquiond (guillaume.melquiond_at_[hidden])
Date: 2005-08-31 03:58:21


Le lundi 29 août 2005 à 10:58 -0500, Matei Stroila a écrit :
> Using Visual Studio 7.1 and boost_1_33_0, I am getting the following
> undefined symbol while trying to run an application that uses the
> interval_lib:
>
> error LNK2019: unresolved external symbol _rint referenced in function
> "public: static double __cdecl
> boost::numeric::interval_lib::detail::x86_rounding::to_int(double
> const &)" (?to_int_at_x86_rounding_at_detail@interval_lib_at_numeric@boost@@SANABN_at_Z)

In fact, there has been another report about rint on Windows not too
long ago. In that case, rint was present, but its implementation was not
standard-compliant. In your case, it seems it is completely missing. So
I'm changing the title of the mail in hope that somebody can shed some
light on what the support of rint with Microsoft compilers is. What is
happening with this function?

Anyway, back to your post. You may try to adapt the workaround I
suggested in the followup of the previous bug-report about rint:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1246358&group_id=7586

Best regards,

Guillaume


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net