err.D_LQUANT_STEPVAL.bad.d revision 303975
168349Sobrien/* 268349Sobrien * CDDL HEADER START 3276415Sdelphij * 468349Sobrien * The contents of this file are subject to the terms of the 5186690Sobrien * Common Development and Distribution License (the "License"). 668349Sobrien * You may not use this file except in compliance with the License. 768349Sobrien * 8186690Sobrien * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 968349Sobrien * or http://www.opensolaris.org/os/licensing. 10186690Sobrien * See the License for the specific language governing permissions 1168349Sobrien * and limitations under the License. 12186690Sobrien * 1368349Sobrien * When distributing Covered Code, include this CDDL HEADER in each 14186690Sobrien * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15186690Sobrien * If applicable, add the following below this CDDL HEADER, with the 16186690Sobrien * fields enclosed by brackets "[]" replaced with your own identifying 17186690Sobrien * information: Portions Copyright [yyyy] [name of copyright owner] 18186690Sobrien * 19186690Sobrien * CDDL HEADER END 20186690Sobrien */ 21186690Sobrien 22186690Sobrien/* 23186690Sobrien * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 24276415Sdelphij * Use is subject to license terms. 25276415Sdelphij */ 26186690Sobrien 27186690Sobrien#pragma ident "%Z%%M% %I% %E% SMI" 28276415Sdelphij 29276415Sdelphij 30186690Sobrien/* 31186690Sobrien * ASSERTION: 32276415Sdelphij * lquantize() step value should be a 16-bit quantity 33276415Sdelphij * 34276415Sdelphij * SECTION: Aggregations/Aggregations 35276415Sdelphij * 36276415Sdelphij */ 37276415Sdelphij 38276415Sdelphij 39276415SdelphijBEGIN 40276415Sdelphij{ 41276415Sdelphij i = 0; 42276415Sdelphij} 43276415Sdelphij 44276415Sdelphijtick-10ms 45276415Sdelphij/i < 1000/ 46276415Sdelphij{ 47276415Sdelphij @a[i] = lquantize(i, 100, 1100, 200000 ); 48276415Sdelphij i += 100; 49276415Sdelphij} 50276415Sdelphij 51276415Sdelphijtick-10ms 52276415Sdelphij/i == 1000/ 53276415Sdelphij{ 54276415Sdelphij exit(0); 55276415Sdelphij} 56276415Sdelphij 57276415Sdelphij