Welcome! Log In Create A New Profile

Advanced

Floating Point

Aparna Bhat
February 26, 2013 04:34AM
Hi,

I am working on a module for load balancing. I have to make use of the type
float. Can anyone please tell me if there is any nginx specific data type
for float such as the one that exists for int (ngx_int_t). I would also
like to know how to write the float value to the logs. The type %f prints
only the integer portion of the float value.

Thank you in advance.

With Regards,
Aparna.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Floating Point

Aparna Bhat February 26, 2013 04:34AM

Re: Floating Point

Benjamin Saiz February 26, 2013 04:58AM

Re: Floating Point

Igor Sysoev February 26, 2013 05:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 220
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready