a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 utility.library
  AddNamedObject
  AllocNamedObjectA
  AllocateTagItems
  Amiga2Date
  ApplyTagChanges
  AttemptRemNamedObject
  CallHookPkt
  CheckDate
  CloneTagItems
  Date2Amiga
  FilterTagChanges
  FilterTagItems
  FindNamedObject
  FindTagItem
  FreeNamedObject
  FreeTagItems
  GetTagData
  GetUniqueID
  MapTags
  NamedObjectName
  NextTagItem
  PackBoolTags
  PackStructureTags
  RefreshTagItemClones
  ReleaseNamedObject
  RemNamedObject
  SDivMod32
  SMult32
  SMult64
  Stricmp
  Strnicmp
  TagInArray
  ToLower
  ToUpper
  UDivMod32
  UMult32
  UMult64
  UnpackStructureTags
Include
GuruMeditation
Docs » Autodocs » utility.library » SMult64

NAME

	SMult64 -- signed 32 by 32 bit multiply with 64 bit result. (V39)

SYNOPSIS

	result = SMult64(arg1,arg2);
D0:D1 D0 D1
LONG SMult64(LONG,LONG);

FUNCTION

	Returns the signed 64 bit result of multiplying arg1 by arg2.

INPUTS

	arg1, arg2 - numbers to multiply

RESULT

	result - the signed 64 bit result of multiplying arg1 by arg2.

NOTES

	Unlike other Amiga library function calls, the utility.library
32 bit math routines do NOT require A6 to be loaded with a
pointer to the library base. A6 can contain anything the application
wishes. This is in order to avoid overhead in calling them.
In addition, the utility.library math routines preserve all
address registers including A0 and A1

SEE ALSO

SDivMod32(), UDivMod32(), UMult32(), UMult64()

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Defjam

DJ
SNT
CSL
AOA

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se