[phobos] small documentation fixes

Shin Fujishiro rsinfu at gmail.com
Mon Aug 16 11:02:40 PDT 2010


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)      )


More information about the phobos mailing list