File:  [MW Coherent from dump] / coherent / b / kernel / emulator / testfpu.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:37 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * Test the linnux FPU-emu
 */
#include <misc.h>
#include <math.h>
#include <signal.h>

extern void math_emulate();

main()
{
	double a = 1.5, b = 0.5;

	signal(SIGFPE, math_emulate);
	a += b;
	xdump(&a, sizeof(a));
}

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.