А РХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev ][Date Next ][Thread Prev ][Thread Next ][Date Index ][Thread Index ]
Re: ngx_vslprintf
To : nginx-ru@xxxxxxxxx
Subject : Re: ngx_vslprintf
From : Vladimir Romanov <vromanov@xxxxxxxxx >
Date: Tue, 11 May 2010 23:04:24 +0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=9qZq8kt9BqP8iB2A+WzRaxOQdQSbKH7HkmlaTHdkzWA=; b=Q3VYaNe51gL+FsH9Tn8c7HvaJmz7NSVSSDZ4mwhE3VlRoV0J0Yvy0zJxADAZgY17xR yL/tnx7kPvr9v6F+dr8T2UFE3B9n9QTOhj6BbIs5CjfVyB5VRmFO+MdOZHtLBl78Pug3 e3kEFvtYTqNRNeMM/QP8iwTH4oCQgfY7HPyvY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=afRrnBnroRr8AdCCI57xpAjhSz9i4vkeNLiKlyNlODgAn7LW0FqznkC4Z8n4ilCROE JXU7JVlP5ry2I+bpSdwecklrxLnCHH+m5hicwBnPxMNcARAAb/1sdFrZAxUUJ2Q4fI9C CxLG2sy/0vo8g2iclIZC7Lny+QaQWg/Edvi8o=
In-reply-to: <m3sk613rwb.wl%catap@xxxxxxxx >
References: <m3vdaz4vk6.wl%catap@xxxxxxxx > <20100507210524.GC50731@xxxxxxxxxxxxx > <m3sk613rwb.wl%catap@xxxxxxxx >
Там еще хорошо бы добавлять 0.5 при выводе дробной части. Чтобы
избежать проблем при выводе чисел типа 1.29999999, которые на самом
деле 1.3
--
Vladimir Romanov
_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru