Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jan 1995 22:25:21 -0800
From:      Mark Diekhans <markd@grizzly.com>
To:        chuckr@Glue.umd.edu
Cc:        FreeBSD-Questions@freefall.cdrom.com
Subject:   Re: Man Pages
Message-ID:  <199501270625.WAA23675@Grizzly.COM>
In-Reply-To: <Pine.SUN.3.91.950126224603.4449B-100000@mocha.eng.umd.edu> (message from Chuck Robey on Thu, 26 Jan 1995 22:51:38 -0500 (EST))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Chuck" == Chuck Robey <chuckr@glue.umd.edu> writes:

    Chuck> Just to make sure my question stack is empty, does anyone remember
    Chuck> the fix to get tk/tcl working right?  I have d/l'ed the new tk/tcl
    Chuck> (4.0xxx), but it dies in the math library.  I do remember why, I
    Chuck> don't remember the fix....does anyone else?A

This should do the trick...

*** tclBasic.c.ORG	Thu Jan 26 22:24:24 1995
--- tclBasic.c	Thu Jan 26 22:23:35 1995
***************
*** 20,25 ****
--- 20,26 ----
  #ifndef TCL_GENERIC_ONLY
  #   include "tclPort.h"
  #endif
+ #include <floatingpoint.h>
  
  /*
   * The following structure defines all of the commands in the Tcl core,
***************
*** 220,225 ****
--- 221,228 ----
  
      if (firstInterp) {
  	(void) signal(SIGPIPE, SIG_IGN);
+         fpsetmask(0);
+         fpsetround(FP_RN);
  	firstInterp = 0;
      }
  #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501270625.WAA23675>