digitalmars.D.learn - rndtonl
- Laeeth Isharc (14/14) Nov 04 2014 what am I doing wrong here?
- Adam D. Ruppe (5/5) Nov 04 2014 I think rndtonl is a C library function that isn't always present
- Laeeth Isharc (7/12) Nov 05 2014 Thanks, Adam.
what am I doing wrong here? import std.math; import std.stdio; void main() { real fac; fac=1.2; fac=rndtonl(fac); } bug.o: In function `_Dmain': bug.d:(.text._Dmain+0x3b): undefined reference to `rndtonl' collect2: error: ld returned 1 exit status --- errorlevel 1
Nov 04 2014
I think rndtonl is a C library function that isn't always present in the system. It doesn't work on my computer either and I can't find any documentation about it. It is probably not meant to be called by end users.
Nov 04 2014
Thanks, Adam. Should we perhaps make a pull to suggest updating the docs/wiki? As the point below is not what one would infer from the dlang.org library reference page. (If I say we, it's because I don't know what the protocol is, or whether my perception is right). On Tuesday, 4 November 2014 at 18:39:29 UTC, Adam D. Ruppe wrote:I think rndtonl is a C library function that isn't always present in the system. It doesn't work on my computer either and I can't find any documentation about it. It is probably not meant to be called by end users.
Nov 05 2014