Typos: "a \meta{integer}".


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3698 de43f980-851b-0410-b2f7-c40aca1f87e0
Simplify int_mul_truncate:nn a bit; tests added.

The construction |\int_value:w \dim_eval:w ... \dim_eval_end:|
also works to get a number out of a dimension expression.



git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3699 de43f980-851b-0410-b2f7-c40aca1f87e0
Add unnecessary l3seq optimizations to l3kernel-extras

Most modules could gain a factor of 2 in speed, but we
will only know which optimizations will be needed once
we have a working format.   For now,  keep those ideas
around,  without using them.



git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3700 de43f980-851b-0410-b2f7-c40aca1f87e0
Update l3kernel-extras to follow the style guide.


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3701 de43f980-851b-0410-b2f7-c40aca1f87e0
Load graphics right at the start of the \AtBeginDocument hook

There is an issue to do with the expandability of \sin(0), etc.,
that can otherwise come up if (x)color is loaded before expl3.


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3702 de43f980-851b-0410-b2f7-c40aca1f87e0
Global hook => gput


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3703 de43f980-851b-0410-b2f7-c40aca1f87e0
Add tests for ..._show:n functions.


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3704 de43f980-851b-0410-b2f7-c40aca1f87e0
The forumla for intersections was wrong

It was right in the 'olf' FPU code, but wrong in the docs. When I altered
the code for the 'new' FPU, I followed the docs! Both are now hopefully
correct.


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3705 de43f980-851b-0410-b2f7-c40aca1f87e0
All _show:n functions show "<recently read> }" as a second line.

Exceptions:

- \tl_show:n
- \keys_show:nn

I think that's it.



git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3706 de43f980-851b-0410-b2f7-c40aca1f87e0
Test files for \group_after_set:NNn.


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3707 de43f980-851b-0410-b2f7-c40aca1f87e0
Add \group_insert_after:(n|x) and update group_after_set


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3708 de43f980-851b-0410-b2f7-c40aca1f87e0
Clean up trigonometric floating point functions.

In particular, sin(very small number) used to give 0, now it
gives the correct result, namely the small number itself.
There are probably still regions in which tan and cot are off
by a bit more than 1e-16, namely when the argument is of order
1e-8.



git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3709 de43f980-851b-0410-b2f7-c40aca1f87e0
Move \c_undefined_fp to l3fp-old, hence move l3fp-old to the end.

The definition of \c_undefined_fp requires the fp package to be
almost entirely set up, so we load that at the end of the l3fp
bundle.


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3710 de43f980-851b-0410-b2f7-c40aca1f87e0
Improve docu in l3fp.dtx; move \fp_set_from_dim to old.


git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3711 de43f980-851b-0410-b2f7-c40aca1f87e0
Add l3traps for fp exceptions, only for trig and expo yet.

The idea on the long run is to be able to do

   \group_begin:
      \fp_flag_off:n { division_by_zero }
      \fp_gset:Nn \g_my_fp { 2 / ( 1 - \X ) }
      \fp_if_flag_on:nT { division_by_zero }
         { <recover from that exception> }
   \group_end:

In particular, it should be possible to use that to simplify
the pole intersection code to some extent.  Not yet, because
I only implemented exceptions properly for trigonometric and
exponential-related functions.



git-svn-id: svn+ssh://comedy.dante.de/serv/latex-project/svn/experimental/trunk@3712 de43f980-851b-0410-b2f7-c40aca1f87e0