[phobos] small documentation fixes
Johannes Pfau
johannespfau at googlemail.com
Mon Aug 16 11:50:55 PDT 2010
On 16.08.2010 20:02, Shin Fujishiro wrote:
> Johannes Pfau <johannespfau at googlemail.com> wrote:
>> I found some small bugs (incorrectly nested/closed macros) in the
>> std.math documentation. I did not want to create a bug report, because
>> it should be really trivial to fix for everyone with commit access.
> Thanks! I applied the fix and looked over std.math for other macros.
> It was okay, but I got the following artifact in a ddoc output:
>
> $(DDOC_MODULE_MEMBERS
>
> I thought this was fixed... Is it just me?
>
>
> Shin
>
>> The fixes:
>> line 912: (exp)
>> - * $(TD +$(INFIN)) $(TD +$(INFIN)) )
>> - * $(TD -$(INFIN)) $(TD +0.0) )
>> + * $(TR $(TD +$(INFIN)) $(TD +$(INFIN)) )
>> + * $(TR $(TD -$(INFIN)) $(TD +0.0) )
>>
>> line 945: (expm1)
>> - * $(TD +$(INFIN)) $(TD +$(INFIN)) )
>> - * $(TD -$(INFIN)) $(TD -1.0) )
>> + * $(TR $(TD +$(INFIN)) $(TD +$(INFIN)) )
>> + * $(TR $(TD -$(INFIN)) $(TD -1.0) )
>>
>> line 1032: (exp2)
>> - * $(TR $(TH x) $(TH exp2(x) )
>> - * $(TD +$(INFIN)) $(TD +$(INFIN)) )
>> - * $(TD -$(INFIN)) $(TD +0.0) )
>> + * $(TR $(TH x) $(TH exp2(x)) )
>> + * $(TR $(TD +$(INFIN)) $(TD +$(INFIN)) )
>> + * $(TR $(TD -$(INFIN)) $(TD +0.0) )
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
think I found it, this one was tough:
line 2007:
/// The result cannot be represented exactly, so rounding occured.
/// (example: x = sin(0.1); }
Not sure what it should be though. I think
/// example: x = sin(0.1);
should work?
--
Johannes Pfau
More information about the phobos
mailing list