/****************************************************************************/ /* (C) Copyright 1993 Universidade Estadual de Campinas (UNICAMP) */ /* Campinas, SP, Brazil */ /* */ /* This file can be freely distributed, modified, and used for any */ /* non-commercial purpose, provided that this copyright and authorship */ /* notice be included in any copy or derived version of this file. */ /* */ /* DISCLAIMER: This software is offered ``as is'', without any guarantee */ /* as to fitness for any particular purpose. Neither the copyright */ /* holder nor the authors or their employers can be held responsible for */ /* any damages that may result from its use. */ /****************************************************************************/ char *aat_ftag = "fmul"; char *aat_fname = "f = x * y - 1"; Float aat_f_flt (Float x, Float y) { ROUND_NEAR; return (x * y - One); } Interval aat_f_ia (Interval x, Interval y) { Interval res = ia_shift(ia_mul(x, y), -One); return (res); } AAP aat_f_aa (AAP x, AAP y) { MemP frame = aa_top(); AAP res = aa_shift(aa_mul(x, y), -One); return (aa_return(frame, res)); } Interval aat_fxd = {-Two, Two}; Interval aat_fyd = {-Two, Two}; int aat_fn = 16;