From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199801141600.JAA04512@ellpspace.math.ualberta.ca> Date: Wed, 14 Jan 1998 09:00:25 -0700 (MST) From: Michal Jaegermann Subject: Re: floating exception In-Reply-To: > > > Kernel provides ieee_set_fp_control() (see ) > .... > > I did a grep ieee_set_fp_control on my whole kernel tree and the > /usr/include tree on my system : Very good. :-) > I just found this comment > > " > include/asm/fpu.h: * ieee_set_fp_control() etc. can be implemented > easily and ..... > " Right! You found the famous "documentation". :-) If somebody will tell me that I missed a detailed description in some other place I am all ears. > do you mean that it is not yet implemented(at least on my system)? Why? This is, obviously, a user space function and kernel only provides hooks to implement it. If you want to see if you really have it you should try something like that: $ nm /lib/libc.so.6 | grep ieee 00000000000878e0 T __ieee_get_fp_control 0000000000087920 T __ieee_set_fp_control 00000000000878e0 W ieee_get_fp_control 0000000000087920 W ieee_set_fp_control So it is there. Beyond that it is trivial to write a two line C program which uses the function and try to see if it links. Faster and more reliable than bothering the whole world. And apart of that I wrote explicitely that the function is available and even provided, guessed, prototype for it. Michal -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com